cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Digital
Level 8

Nest gallery items under category header where header is from SharePoint choice field

I have a gallery of apps users can select. The gallery items is a collection which is populated by a SharePoint list. I would like to display the app category with the apps listed under the header. Is is currently being displayed on each gallery row.

 

The app category is stored in a SharePoint choice field in the same list as all the other items. I have tried renaming columns and using group by but can't get it to work. I'm a PowerApps rookie so thought there is probably a straightforward way of achieving this.

 

Alternatively maybe I could overlay text fields in the right position as a hack but they could easily fall out of position when the app gets scaled etc.

 

This is is how it looks at the moment

 

Screen Shot 2019-11-14 at 11.10.20.png

 

I want to get the app categories to display like this 

 

Screen Shot 2019-11-14 at 11.10.52.png

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft v-siky-msft
Microsoft

Re: Nest gallery items under category header where header is from SharePoint choice field

Hi @Digital ,

 

You can follow the guidance from Paul O'Flaherty's YouTube Video: PowerApps Sub Galleries Expand and Collapse .

That is about how to expand and collapse a nested gallery.

Hope this can help you.

Best regards,

Sik

If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.

View solution in original post

4 REPLIES 4
Digital
Level 8

Re: Nest gallery items under category header where header is from SharePoint choice field

 

Screen Shot 2019-11-14 at 4.19.58 PM.png

 

Digital
Level 8

Re: Nest gallery items under category header where header is from SharePoint choice field

Oops for some reason none of the text came through with previous response. I'll try again...

 

I put this on the visible property of the App Category. Each of the App title listed is the first item under that category.

 

This works, however I'm aware this is a bit of a hack and if the app list gets changes it could break.

 

 

ThisItem.Title="Authorities System" ||
ThisItem.Title="Log an Incident" ||
ThisItem.Title="Site Entry Request" ||
ThisItem.Title="Maximo Work Order KPIs for Supervisors" ||
ThisItem.Title="IPL" ||
ThisItem.Title="Safe Walk/Hauora Hikoi logger" ||
ThisItem.Title="Bus Timetable" ||
ThisItem.Title="Duty Roster"

 

 

Ideally I want the app titles to bunch closer together. Would I have to use a flexible height gallery for this? At the moment my list looks like this:

 

 

Microsoft v-siky-msft
Microsoft

Re: Nest gallery items under category header where header is from SharePoint choice field

Hi @Digital ,

 

You can follow the guidance from Paul O'Flaherty's YouTube Video: PowerApps Sub Galleries Expand and Collapse .

That is about how to expand and collapse a nested gallery.

Hope this can help you.

Best regards,

Sik

If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.

View solution in original post

Digital
Level 8

Re: Nest gallery items under category header where header is from SharePoint choice field

Thank you, that looks just the ticket. I'll give it a go and report back. 

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

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 Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

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 (9,414)