cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
techtudoor
Resolver I
Resolver I

Some variables and collections have been reset - Gallery View

I am building a PowerApps and have a Gallery that has been working for weeks. Today I modified my Sort(Filter( syntax for my gallery. Everything was working until PowerApps froze. Now I am receiving an error stating some variables and collections have been reset. The variable that was reset was the Set(varItem, ThisItem) in the gallery to open up a record. I have removed the data collection, saved then re-added the collection. I am receiving errors on all instances of ThisItem within my gallery. I am using the same browser as I always do (Microsoft Edge 44.18362.449.0). I have read other have had this issue, yet their solution did not resolve my issue.

 

Ideas greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
techtudoor
Resolver I
Resolver I

Update, I ended up recreating the screen and the issue did not re-occur

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Are you able to restore your previous version? 

 

Remove the "varItem" and type it in again or try to change it to something new and see if it works. 

@Anonymous , thanks for your suggestions. I have tried removing the variable, saving then adding a new variable with a new name, same issue. The issue seems to lie with the ThisItem syntax. Anything referencing ThisItem, gives an error. I have another app that is referencing the same collection and there is no issues there. 

I have restored to a version that was working earlier today, but same results.... I can not understand how PowerApps would be this greatly effected by a computer freeze.

 

 

techtudoor
Resolver I
Resolver I

Update, I ended up recreating the screen and the issue did not re-occur

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (4,802)