cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joshnystrom
Level 8

Re: Clearing out people picker field

@sjcitpro,

Yeah, that's how I was doing it before I started down this path. However, when I started rebuilding my App from scratch, I decided I wanted to avoid the Flow. In my previous build, I was relying on rough-guess timers to be able to accurately navigate screens based on Flow successes/failures - perhaps unnecessarily?

Thankfully my Person field is a People field... again, hopefully we get general availability of patching-to-null soon.

Cheers,

Josh

Khender9
Level: Power Up

Re: Clearing out people picker field

Hi josh not sure why it didn’t work for me, the patch to people field looks for a record not a table so it didn’t work but just changing your code a little it worked a charm! Thanks

Patch(testlist,
ID:ItemID,{personfield:Lookup(blankperson,Claims=blank())}
)

Works a treat
LeonSig
Level: Powered On

Re: Clearing out people picker field

In case anyone finds their way here. I think they made some changes to PowerApps that now allow the Blank() function to patch a blank value to people picker fields. You do need to have the experimental feature turned on though.

 

In my case, I was trying to clear the value from a single select People Picker in order to return an item to a general queue where it could be reclaimed by another. I was working with the items inside of a gallery, so you may have to alter it to fit what you need. What ended up working was:

 

Patch(YourListName, ThisItem, {PeoplePickerFieldName: Blank()})

 

This cleared the people picker value and reset it to blank

Helpful resources

Announcements
thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (4,893)