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
PBIUWO
Resolver I
Resolver I

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. 

@PBIUWO , 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

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (15,965)