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 / Update current user an...
Power Apps
Answered

Update current user and searched user in to SP List

(0) ShareShare
ReportReport
Posted on by 112

Hi,

 

I have placed two Combo boxes inside one data card.

Combo Box1 will be invisible and by default the current logged in user be selected.

Combo Box 1 Item Property :

Office365Users.SearchUser({searchTerm:User().Email})

Combo Box 1 DSI Property :

First(Office365Users.SearchUser({searchTerm:User().Email})).

 

ComboBox2 will be visible to user.

Combo Box 2 Item Property :

Office365Users.SearchUser({searchTerm:ComboBox2.SearchText})

Combo Box 2 DSI Property :

If(IsBlank(galRecords.Selected.Person),

Office365Users.SearchUser({searchTerm:User().Email}).DisplayName,

galRecords.Selected.Person

)

 

Datacard Update:

If(User().FullName=ComboBox1.Selected.DisplayName,

ComboBox1.Selected,

ComboBox2Selected

)

 

Now both the DSI and Item property columns are matching but the value is not updating in the backend

 

 

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

    Hi @Sathya2 ,

     

    Person column has a special format.

    vxiaochenmsft_0-1642666160998.png

    vxiaochenmsft_1-1642666170045.png

    vxiaochenmsft_2-1642666221600.png

    vxiaochenmsft_3-1642666345414.png

     

    vxiaochenmsft_4-1642666355779.png

    Patch(LIST207,Defaults(LIST207),{Title:"B",Test_Person:{Claims:"i:0#.f|membership|"&ComboBox1.Selected.Mail,Email:"",Department:"",DisplayName:"",JobTitle:"",Picture:""}})

     

    Its format:

    {Claims:"i:0#.f|membership|"&ComboBox1.Selected.Mail,Email:"",Department:"",DisplayName:"",JobTitle:"",Picture:""}

     

    Best Regards,

    Wearsky

     

     

     

     

     

     

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 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard