web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Collect a people field...
Power Apps
Answered

Collect a people field and re-apply it

(0) ShareShare
ReportReport
Posted on by 5

Hi.

 

I created a simple app with multiple pages. Every page contains a form with input field for one SharePoint Table and will be patched to the SharePoint Table when everything is finished and user clicks a "Send" button. 

The app is used on a mobile device.

To prevent a dataloss when the app is accidently closed or crashed for some reason, i collect all inputs in the background and re-apply the collected information to the field when required. This works flawless so far.

 

My problem is, I do not find a solution for collecting a people field and afterwards re-apply the collected value to people field. 

This is my code for collecting the field, where the red part does not work.:   

Spoiler (Highlight to read)

  Collect(MNT_Kopfdaten;{
    Adresse: DataCardValue71.Text;
    Vertragstyp: DataCardValue89.Selected.Value;
    Datum: DataCardValue2.SelectedDate;

    Techniker: DataCardValue146.DisplayName;
    Hinweise: DataCardValue57.Text}
    );;
  SaveData(MNT_Kopfdaten;"Sicherung_MNT_Kopf");;

  Collect(MNT_Kopfdaten;{    Adresse: DataCardValue71.Text;    Vertragstyp: DataCardValue89.Selected.Value;    Datum: DataCardValue2.SelectedDate;    Techniker: DataCardValue146.DisplayName;    Hinweise: DataCardValue57.Text}    );;  SaveData(MNT_Kopfdaten;"Sicherung_MNT_Kopf");;

Can anybody offer some help here?

 

Thanks!

Categories:
  • Verified answer
    developerAJ Profile Picture
    4,763 on at
    Techniker: DataCardValue146.Selected;

     

    it should work now

  • budatim Profile Picture
    5 on at

    Hello developerAJ.

     

    Thanks a lot. It does work now. I am a little embarassed it was this simple.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard