cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Set the default value of a Person lookup in powerapps

Hi Support,

 

Below will set the values to person control, though that values are not saving to the list.

 

Office365Users.MyProfile()

Office365Users.Manager(Office365Users.MyProfile().UserPrincipalName)

 

kind give me syntax to default value for person field.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

I've managed to do this via this post: http://www.codeovereasy.com/2017/07/powerapps-set-sharepoint-person-field-to-current-user/

 

Credits to derek who wrote the article 🙂

View solution in original post

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @Anonymous,

 

The Office365Users functions only work with Office 365 Users connection, not with SharePoint users and groups. To use these formulas, you will to add the Office365 Users connection. For more information, please refer to:

Connect to Office 365 Users connection from PowerApps

https://docs.microsoft.com/en-us/powerapps/connections/connection-office365-users

 

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.
Anonymous
Not applicable

I've managed to do this via this post: http://www.codeovereasy.com/2017/07/powerapps-set-sharepoint-person-field-to-current-user/

 

Credits to derek who wrote the article 🙂

View solution in original post

Anonymous
Not applicable

Thank you Driverdo19. Your solution 100% worked for me... 🙂

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,270)