cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LukasSliuzas
Helper II
Helper II

Pre fill poeple picker field with email of user.

Hello,

 

I am trying to create a form where choosing responsible person would automatically pre fill with users manager. I am able to retreive the email for user on a text field but can't achieve that in people picker field.

 

Br
Lukas

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @LukasSliuzas ,

 

Try to set the DefaultSelectedItems property of combo box in Person field as follows.

{
Claims:"i:0#.f|membership|" & Office365Users.ManagerV2(User().Email).mail,
Department:"",
DisplayName: Office365Users.ManagerV2(User().Email).displayName,
Email: Office365Users.ManagerV2(User().Email).mail,
JobTitle:"",
Picture:""
}

Hope this helps.

Sik

View solution in original post

2 REPLIES 2
v-siky-msft
Community Support
Community Support

Hi @LukasSliuzas ,

 

Try to set the DefaultSelectedItems property of combo box in Person field as follows.

{
Claims:"i:0#.f|membership|" & Office365Users.ManagerV2(User().Email).mail,
Department:"",
DisplayName: Office365Users.ManagerV2(User().Email).displayName,
Email: Office365Users.ManagerV2(User().Email).mail,
JobTitle:"",
Picture:""
}

Hope this helps.

Sik

Thank you much

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,513)