cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

Collecting a Gallery within a Gallery just broke today

My App has been running smoothly collecting data from a gallery withing another gallery through a simple collection for weeks:

ClearCollect(TColLiveRoster,RosterList.AllItems) 

RosterList is the Master Gallery and has a Sub Gallery within it.

 

Today, along with the scrollbars resetting on every single gallery, now my Collection gets an error saying a Control type doesn't match my Control type...  I've reset the collection everyway I can, but no luck getting around it.

 

Here's the kicker -  The mere action of deleting a few characters and retyping the exact same ones fixes the bug on the admin side.  But everytime it's saved and reopened the Collect command breaks again.

 

This seems to clearly be a bug with a new update.  It heavily affects our daily operations.

 

Any ideas about work arounds?  Or am I stuck redesigning my system on someone's whim?

 

Thank you for your time.

6 REPLIES 6
Highlighted
Super User
Super User

Re: Collecting a Gallery within a Gallery just broke today

Hi @kscharber,

 

Just a guess but could you use the Groupby function to create your collection?  For me this seems to work best for Galleries and subgalleries. 

Highlighted
Community Champion
Community Champion

Re: Collecting a Gallery within a Gallery just broke today

@kscharber, when you collect a Gallery, each of its controls is treated like a 'column'. Can you collect the Items property of the Gallery instead? Or do you need to collect the controls?

Microsoft Employee
@8bitclassroom
Highlighted
Advocate II
Advocate II

Re: Collecting a Gallery within a Gallery just broke today

The intent is to collect both the data in the row and the control data (the subgallery).

 

The sub gallery is a collection of buttons meant for quick selection (Attendance codes for a classroom), I will pull them out of the gallery if need be, but it's a waste of time to have to code them all separately.

 

 

I still don't understand why it is breaking in the first place.  It works on my personal computer without any changes.  I've updated the browsers on the client computers, but to no avail.

Highlighted
Advocate II
Advocate II

Re: Collecting a Gallery within a Gallery just broke today

I'll give this a try later today.

Highlighted
Advocate II
Advocate II

Re: Collecting a Gallery within a Gallery just broke today

Nothing worked to get around pulling the nested controls of a gallery within a gallery.

 

In the end I built manual buttons and on selected them to a collection for temporary saving.  It's an ok solution, except for the fact that any future updates will take time to manually change instead of being able to turn buttons on and off through a table.

 

I really enjoyed having the quick flexibility of using nested galleries to mass create buttons and interfaces.  I really hope they figure out where it went wrong at some point.  Until then I don't have time to keep trying things out.

Highlighted
Community Champion
Community Champion

Re: Collecting a Gallery within a Gallery just broke today

@kscharber, I've filed this as Bug #3074719. In the mean time, if you have a list of the basic parts, would you be able to replicate them in a blank app and describe the steps to us? You can send it in a PM or describe it here.

Microsoft Employee
@8bitclassroom

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (10,777)