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 / Submitting form on pow...
Power Apps
Answered

Submitting form on power apps is updating a field in SharePoint list

(0) ShareShare
ReportReport
Posted on by 46

Hi ,

I am quite new to Power Apps and facing a problem that the field in a SharePoint list is got getting updated through Power apps. 

as you can see that I have used 'Office365-Benutzer'.SearchUser({searchTerm:Label3.Text}) for default select item but when submit the for it does not get reflected on SP list

an when I remove the  'Office365-Benutzer'.SearchUser({searchTerm:Label3.Text}) , manually search the user and then save the form the field gets updated 

what could be the Problem?

rishimarde_1-1644314452050.png

rishimarde_3-1644314968825.png

 

rishimarde_2-1644314571722.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @rishimarde ,

     

    Select the Combo Box Control and try to apply the following formula on its DefaultSelectedItems property as:

    If(!IsBlank(DataCardValue1.Text),
     {
     '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims: "i:0#.f|membership|" & First(Office365Users.SearchUserV2({searchTerm:DataCardValue1.Text}).value).Mail,
     Department: "",
     DisplayName: First(Office365Users.SearchUserV2({searchTerm:DataCardValue1.Text}).value).DisplayName,
     Email: First(Office365Users.SearchUserV2({searchTerm:DataCardValue1.Text}).value).Mail,
     JobTitle: "",
     Picture: ""
     }
    )

     The following formula should work for your app:

    If(!IsBlank(Label3.Text),
     {
     '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims: "i:0#.f|membership|" & First('Office365-Benutzer'.SearchUserV2({searchTerm:Label3.Text}).value).Mail,
     Department: "",
     DisplayName: First('Office365-Benutzer'.SearchUserV2({searchTerm:Label3.Text}).value).DisplayName,
     Email: First('Office365-Benutzer'.SearchUserV2({searchTerm:Label3.Text}).value).Mail,
     JobTitle: "",
     Picture: ""
     }
    )

     

    Best Regards,

    Charlie Choi

  • rishimarde Profile Picture
    46 on at

    Hi thanks for the reply but I have figured this out by other way. It works right now. please let me know if its right.

    rishimarde_0-1644845154682.png

     

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @rishimarde ,

     

    Glad to see you solved the problem. If it works fine, it's no problem.
    In addition, you could mark your reply or mine as a 'solution' to close the case.

     

    Best Regards,

    Charlie Choi

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard