cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jdeck
Level: Powered On

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
Level: Powered On

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
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,483)