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
Highlighted
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.
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.  

Highlighted
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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

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