cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Set the default value of a Person or Group Field

Using the Office365Users connection, how can I set the Person or Group Field of the logged on user?

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Set the default value of a Person or Group Field

Hi @msmith,

 

If you meant that you want to set the current user as the default value for SharePoint person or group column, then I think this cannot be achieved in PowerApps. If my understanding is incorrect, please feel free to let me know.

 

Per my certain knowledge, when an Edit form control is in New mode, the Item property is ignored. The form doesn't show an existing record; instead, the values in each field match the default values of the data source with which you configured the form.


So though you can set the current user as a Default user using User() in People picker field, the value in this field does not match the default values of the data source. So if you don’t click on the People picker control before saving the data, the data cannot be saved to data source, and you are asked to enter a required value to the required field.

 

For People picker field, on Edit screen, you need to search a user by entering user name, then select one from drop down items.

 

About Edit form and Display Form, please check this documentation for more details:
https://powerapps.microsoft.com/en-us/tutorials/control-form-detail/


Best regards, 

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,763)