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

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 II
Dual Super User II

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 II
Dual Super User II

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
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 (3,879)