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

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
Community Support Team
Community Support Team

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,731)