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 / adding a user to singl...
Power Apps
Unanswered

adding a user to single text field

(0) ShareShare
ReportReport
Posted on by 51

in my sharepoint i have a single text field called request for, i have setup the datacard to have a search user combobox. i cannot update the data card with selected user, it shows a error. how can i add a person value to the single text field. Please note that the field of sharepoint cannot be changed to people due depending text fields are also available in the same datacard.

arshad2_0-1659071630252.pngarshad2_1-1659071836395.png

 

Categories:
I have the same question (0)
  • niklasjegg Profile Picture
    539 on at

    Hi @arshad2  do you use a combobox or a dropdown Control?

  • arshad2 Profile Picture
    51 on at

    combobox

  • niklasjegg Profile Picture
    539 on at

    Ok. so the only possible solution i can think of is to have the email or displayname saved in the text field.

    Set the default selected item and default value of the combobox 

    If(
    !IsBlank(Office365Users.SearchUser({searchTerm:ExtendedProjectTeam_input.SearchText,top:1}).Mail,
    Office365Users.SearchUser({searchTerm:ExtendedProjectTeam_input.SearchText,top:1}).Mail,
    youritem.request_for
    )

     and the datacard update also. 

     

    You cannot add Person value to a text field in the ways of Hovering over a Person. For this you need the people picker and Patch like this.

    Person:{
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Claims: "i:0#.f|membership|" & Lower(First(Office365Users.SearchUser({searchTerm:yourdropdown.DisplayName}).Mail).Mail),
     Department: "",
     DisplayName: yourdropdown.DisplayName,
     Email: yourdropdown.Mail,
     JobTitle: "",
     Picture: ""
     }

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

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard