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

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.
Highlighted
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

Highlighted
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
secondImage

New Return to Workplace

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

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,648)