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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,081)