Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

People Picker field not patching to SharePoint List anymore

(1) ShareShare
ReportReport
Posted on by 438
I have an app that has worked fine for few months now but I discovered today an issue in that it is no longer patching a people picker field to a SharePoint list.
 
My people picker field - Name of Supervisor - has a defaultselecteditem formula as follows:
 
If(varRole = "Staff",  
    {
        DisplayName: User().FullName,
        Claims: "i:0#.f|membership|" & Lower(User().Email)
    },
    ThisItem.'Name of Supervisor'
)
 
 
This field is populating correctly with the current user logged in - this part is all good.
 
BUT it doesn't seem to patch to SharePoint anymore (it used to without an issue) when my submit button is pressed - a
snippet of the onselect formula of my button (it is long and complicated!)
 
Patch(
            'Information',
            Defaults('Information'),
            Details.Updates,
            Contacts.Updates,

.....
My field resides within the Details Form so not sure why it cannot suddenly patch the value!
 
  • Verified answer
    RM-30040732-0 Profile Picture
    438 on at
    People Picker field not patching to SharePoint List anymore
    Found a solution - I added an extra part to the patch statement on my button which seems to now carry across the user populated in the field correctly:
     
    Patch(
                'Information',
                Defaults('Information'),
                Details.Updates,
                {'Name of Supervisor':DataCardValue26.Selected
                },
                ContactInformation.Updates,
     
  • RM-30040732-0 Profile Picture
    438 on at
    People Picker field not patching to SharePoint List anymore
    Thanks, sorry yes it is a person field.
     
    This unfortunately hasn't worked either. I can still see my user is populating within the app fine, but still not patching that through to SharePoint
  • WarrenBelz Profile Picture
    146,524 Most Valuable Professional on at
    People Picker field not patching to SharePoint List anymore
     Assuming Name of Supervisor' is a Person field, try patching the full table
    If(
       varRole = "Staff",  
        {
          
          Claims: "i:0#.f|membership|" & Lower(User().Email),
          Department: "",
          DisplayName: User().FullName,
          Email: User().Email,
          JobTitle: "",
          Picture: ""
       },
       ThisItem.'Name of Supervisor'
    )

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard