cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Skilled Sharer
Skilled Sharer

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
Highlighted
Community Champion
Community Champion

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
Highlighted
Community Champion
Community Champion

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

Highlighted
Skilled Sharer
Skilled Sharer

Re: Customize Form App - Person Lookup Resets

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

Highlighted
Community Champion
Community Champion

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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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