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 / Person Field in ShareP...
Power Apps
Answered

Person Field in SharePoint

(0) ShareShare
ReportReport
Posted on by 438

Hello All,

 

@Reza dorani

 

This is for New Form:

I have person field from SharePoint added to sharepoint form:

Items property will be: 

vish3027_0-1626197284955.png

Update will be: 

vish3027_1-1626197324649.png

Now I am doing some customization:

Like filtering data based on other list
Excluding some mailboxes: 
e.g.

vish3027_2-1626197406006.png

I am showing display name in dropdown

Now what should be the Update property and How to submit data to SharePoint on SubmitForm().

In update i cannot access email directly now, i only have display name which is used in items property

datacardvalue.selected : gives error

 

Person field may not contain value, its optional

 

This is Edit Form:

Now when i submit data to sharePoint and opening form in edit mode.

 

I can see correct display value in dropdown field but it is unslected
like correct display name but unselected
DefaultselectedItems property..??

 

Also resubmitting with SubmitFOrm()

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @vish3027,

    Based on the issue that you mentioned, do you want to update the Person field based on a filter result?

    Could you please share a bit more about your scenario?

    Actually, since you have changed the original Items formula, you should change your format set for the Update as below:

    {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims: DataCardValue16.Selected.Result,
     Department: "",
     DisplayName: DataCardValue16.Selected.Result,
     Email: DataCardValue16.Selected.Result,
     JobTitle: "",
     Picture: ""
    }

    Note that the DataCardValue16 represents the DataCardValue5 in your scenario.

    Set the DefaultSelectedItems property of the DataCardValue5 as below:

    [ThisItem.'FO Approver'.DisplayName]

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard