cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Re: PowerApps People picker - Current User

Simpler (newer?) solution to adding default users: 

 

people.png

Highlighted
Advocate II
Advocate II

Re: PowerApps People picker - Current User

This doesn't seem to properly work for me.  It will update the field in powerapps with the users name, but when submitting, it doesn't actually pass the user to the person field in the sharepoint list.  Did it work for you?

Highlighted
Regular Visitor

Re: PowerApps People picker - Current User

Setting the Default and DefaultSelectedItems does not work for me and it does not get saved. I've tried changing the Update property of the data card as well but no luck. Has anything changed?

Highlighted
Skilled Sharer
Skilled Sharer

Re: PowerApps People picker - Current User

not with this new simple method.  Please refer to my older post, but here it is again.

 

on the App Onstart action set the following variables:

Set(gvCurrentUser, Office365Users.MyProfileV2());

Set(gvCurrentManager, Office365Users.ManagerV2(gvCurrentUser.userPrincipalName));

 

for the person field on the DefaultSelectedItems action

 

If(IsBlank(ThisItem.’Applicant’),

{

DisplayName: gvCurrentUser.displayName,

Claims: "i:0#.f|membership|" & gvCurrentUser.userPrincipalName,

Department:gvCurrentUser.department, 

Email:User().Email, 

JobTitle:gvCurrentUser.jobTitle

},

Parent.Default

)

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,581)