Power Apps – Auto Populate Current User and Manager in SharePoint List Person Field
Views (1406)
{
Claims:”i:0#.f|membership|” & Lower(User().Email),
DisplayName:User().FullName
}
To Auto Populate manger of current Loggedin User
{
Claims:”i:0#.f|membership|” & Lower(Office365Users.Manager(Office365Users.MyProfile().UserPrincipalName).Mail),
DisplayName: Office365Users.Manager(Office365Users.MyProfile().UserPrincipalName).DisplayName
}
To Populate Person field on the sharepoint List we need to set following value on the DefaultSelectedItems property . Also we just need to pass Claims and DisplayName.
This was originally posted here.
*This post is locked for comments