cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jdeck
New Member

PowerApp displays wrong values when editing an item in SharePoint list

Hi all, 

 

I set up a new view for my SharePoint list using a PowerApp. Saving the values to the SharePoint list works fine, but when I select a previously saved item to display the values or change them, they are (partly) incorrect. Especially the check box is always in the default position no matter what state is actually saved in the SP list item (see attached picture).

 

Seems like a bug or am I missing something

 

Best, 
Jacob

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: PowerApp displays wrong values when editing an item in SharePoint list

What is the default setting for the checkbox? It should probably be using an IF() to set it equal to whatever identifies the selected record if one is selected.  Something like this

If(IsEmpty(ThisItem),false,ThisItem.'Boolean test')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: PowerApp displays wrong values when editing an item in SharePoint list

There was an issue with cached results a month or so ago like this.  If you pick a different item to view after saving an item and then come back to the original does it display the right values?  If so, its a timing issue.  You can avoid it by adding a Refresh(datasource) to the end of the Save button.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
jdeck
New Member

Re: PowerApp displays wrong values when editing an item in SharePoint list

Thanks for the fast answer. 

Unfortunately the Check-Box is still not displaying the correct value (true/false). It's always in the default position. All the other fiels are displayed correctly, though.  

Dual Super User
Dual Super User

Re: PowerApp displays wrong values when editing an item in SharePoint list

What is the default setting for the checkbox? It should probably be using an IF() to set it equal to whatever identifies the selected record if one is selected.  Something like this

If(IsEmpty(ThisItem),false,ThisItem.'Boolean test')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (8,833)