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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,054)