cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Brice235i
Level 8

Customize Form App - Person Lookup Resets

Hi I have a list app that populates the default current user when a new item is created.  Works fine - the value is saved back to SharePoint.  However when I re-open the item, the powerapps still shows Entered by person as blank.  The value still in SharePoint though so not a huge issue.  Would just be nice to see the entered person.  Can anyone see what is wrong with the below property on defaultselecteitem?  I would expect if the Entered By field in SharePoint is not blank then the person entered when the form was created would remain. thank you.

 

 

//Default formula for the data card value
If(IsBlank(ThisItem.'Entered By'),
{
DisplayName: gvCurrentUser.displayName,
Claims: "i:0#.f|membership|" & gvCurrentUser.userPrincipalName, 
Department:gvCurrentUser.department,  
  Email:User().Email,  
  JobTitle:gvCurrentUser.jobTitle
},
Parent.Default
)

 

 Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Level 8

Re: Customize Form App - Person Lookup Resets

HI @Brice235i ,

It may not be a simple as this, but do you refresh the data source before displaying the screen with the blank value?

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

3 REPLIES 3
WarrenBelz
Level 8

Re: Customize Form App - Person Lookup Resets

HI @Brice235i ,

It may not be a simple as this, but do you refresh the data source before displaying the screen with the blank value?

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Brice235i
Level 8

Re: Customize Form App - Person Lookup Resets

Yes, oh my goodness... it certainly was!  A refresh did the trick 🙂

WarrenBelz
Level 8

Re: Customize Form App - Person Lookup Resets

Don't worry - I have many times wandered around the forest with the answer on the tree in front of me when I started . . .

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,296)