Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Subgallery bug when trying to change to other screen

Hi folks,

I have been working around with a subgallery thas is causing a strange behavior. I have the next screen in PowerApps Studio. It has a roles gallery and a users subgallery whose belong to those roles.


Eeach item of the subgallery has a button to edit the selected item which takes to the user role edit screen.


The actions of the edit and new button works perfectly inside PowerApps Studio but when I publish the App and access it trought  the "Web Link", the "play" button  or access trought the phone/tablet I cannot achieve the user role edit screen. Instead of that the App crash  and a black screen appears like it is loading something.


I discovered that if I delete the subgallery I can access the role edit screen perfectly.


This is the onselect action of the new button:


NewForm(AddUserEditForm);;Navigate(UserEditScreen; ScreenTransition.Cover;{IsEditMode: false})


This is the onselect action of the edit buttons:


EditForm(AddUserEditForm);;Navigate(UserEditScreen; ScreenTransition.Cover;{IsEditMode: true; UserRoleData: GalleryUserRoles.Selected})


I have tried the following without success:

  1. Copy the screen and delete the original one (failed same issue)
  2. Create the screen, gallery and subgallery from zero (failed same issue)
  3. Export and import the App again. (failed same issue)

This only happens in production mode. Testing it on the PowerApps Studio everything it's ok.


Anyone has experienced the same?



Community Support Team
Community Support Team

Re: Subgallery bug when trying to change to other screen

Hi @ricardosanchezm ,

Could you describe more clearly about "access it trought  the Web Link or the phone/tablet I cannot access the user role edit screen"?

Did you just copy the web link in browser to run the app?

I suggest you run it in PowerApps studio.



Did you share the app with others?

Only if user has permission to this app could run this app.


I also suggest you clear your browser's cache, update it to the latest version and try again.

Also, please check whether your system meet the requirements:

You also need to be in a good condition of network.

If your problem still exists, I suggest you ask for help here:





Best regards,


Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Subgallery bug when trying to change to other screen

Hi @v-yutliu-msft ,

Yes, I have test everything as you describe in your comments but nothing works. I'm going to pick up a ticket in the link you have provided me.


Helpful resources

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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