cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Re: Set the default value of a Person lookup in powerapps

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

Re: Set the default value of a Person lookup in powerapps

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

Re: Set the default value of a Person lookup in powerapps

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

Re: Set the default value of a Person lookup in powerapps

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

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,039)