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 / Allow fill-in for colu...
Power Apps
Answered

Allow fill-in for column currently searching Office365 users

(0) ShareShare
ReportReport
Posted on by 50

I have a situation in a form in which the current way a person is selected is to choose from a field that is set to look up anyone in the tenant. There is a need to allow a fill-in choice as the user needing to be selected hasn't been put into the tenant yet as they are a new-hire, transferring positions, etc. I found this script (inserted into the Update property) to allow the form to be saved without an invalid value.

 

If(Not IsBlank(DataCardValue2.Selected), DataCardValue2.Selected,{Value: DataCardValue2.SearchText, '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"})

 

The problem is the .searchtext is not being saved to the SharePoint column, all other fields are saving to their corresponding columns. Any ideas from the community?

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

    Hi @mlaurie ,

    Do you want to update data to the person column?

    I suggest you patch the new employee's information to the person coulmn.

    Then you could search him in the combo box.

    Here's patch formula for your reference:

    Patch(Patchtesting,
    Defaults(Patchtesting), { Title:"SinglePerson", Person: {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser", Claims:"i:0#.f|membership|michael@testing.com", Department:"", DisplayName:"Michael Shao", Email:"Michael@testing.com", JobTitle:"", Picture:"" }})

     

    Here's a similar issue for your reference:

    https://powerusers.microsoft.com/t5/General-Discussion/Saving-data-from-powerapps-to-SP-lists-person-Group-column/td-p/77329

     

    Best regards,

    Community Support Team _ Phoebe Liu

  • Verified answer
    mlaurie Profile Picture
    50 on at

    Hello, thank you for your reply. I want to be able to only accept the text in the DataCardValue2.text and not patch the new employee in as I don't want multiple entries when they finally get a tenant user account created. 

     

    I spoke with the stakeholder and we have opted to use a text input field instead of a people picker all together. Thanks for your help!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard