cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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 III
Dual Super User III

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
Highlighted
Dual Super User III
Dual Super User III

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.
Highlighted
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 III
Dual Super User III

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,490)