web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / BUG: PowerApps Studio ...
Power Apps
Unanswered

BUG: PowerApps Studio REMOVING MY CODE (Editing Gallery.Items resets Gallery Label Formulas)

(1) ShareShare
ReportReport
Posted on by 427

So, This is REALLY annoying behaviour of the PowerApps Studio...

 

I have a Gallery, and the template contains about 10 labels referring to data in each Item - and some labels have fairly complex formulas.

 

However, If I edit the Gallery.Items expression (for example, to simple add another filter), the PowerApps studio COMPLETELY WIPES OUT all my Label Formulas, and resets them to "What it thinks"... (usually the first X fields of the collection)

 

Seeing as I don't quite remember what each formula is, I have no option but to restore a previous version, and do all my changes again.

 

Also, I can't see any way to stop this behaviour, so If i want to edit the Gallery.Items expression, I have to copy or write down all my Label formulas so that I can put them back into the Labels after editing the Gallery.Items.

 

Actually - It's a good job I even noticed, as It would be entirely possible for me to tweak the Gallery.Items formula for an App and then Save/Publish, without spotting that all the Label formulas have been erased.

 

What's next? Is Microsoft Word going to just decide that it doesn't like what I wrote in my letter, and is just going to change it to something else without asking me?

Is Excel just going to remove a load of data and change all my formulas because it has decided I should see something different?

Does VS or VSCode just unilaterally change or remove portions of code for your project?

 

WHY is it OK for the PowerApps Studio to REMOVE MY CODE without asking ?

Please Microsoft, fix this ridiculous behaviour! This is UNACCEPTABLE!

 

James.

Categories:
I have the same question (0)
  • timl Profile Picture
    36,387 Super User 2025 Season 2 on at

    @james_hathaway - thanks for posting this. I agree it's an annoying bug and I hope that Microsoft fix it.

    For the benefit of anyone at MS who might be reading this, here's another post that describes this behaviour.

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Why-do-some-canvas-app-galleries-get-completely-scrambled-when-I/m-p/1582931

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard