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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Order form with nested...
Power Apps
Answered

Order form with nested lists with dynamic gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi guys!

 

I'm working on creating an order form and I'm struggling to find any information on how I could achieve some of the dynamic features I envisioned 🙂 I was hoping you could advise on some creative ways to do it.

 

The main challenge is that there will be different kinds of products and I'm creating separate sub-forms to guide users on the attributes they need to provide (e.g. a brand for a car or a quantity for crayons). I'm storing my data on a SharePoint list and want to have one record per order (not split them into rows). I was thinking about storing collections or html tables in cells to save that but didn't come up with the best solution yet.

 

Another functionality will be a gallery showing all products within an order. The challenge here is that galleries are pretty static when it comes to what they show (i.e. the same label applies to all items in a gallery). So, my questions are:

1) How would you save the data on a SharePoint list (or maybe an alternative?) in a way that's efficient and easy to read fro the app? 

2) How would you show the details of the order to end-users?

 

I'm attaching screenshots to show an example of an order and how I would show that to the end-user. It's probably impossible to create, but maybe you've seen a similar idea in the past and had an alternative solution?

Order.PNG
Gallery.PNG
Categories:
I have the same question (0)
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi there you can do this with nested galleries.

     

    lets take your  gallery and assume that you have an identifier column lets say Category.

    If you assign your datasource to the gallery you will get what you have in your pic, something like

    rubin_boer_0-1603288575977.png

    The above have  Title, Category and Image (let say this is your SharePoint List)

    Create a collection ClearCollect(colGrouped, GroupBy(yourSharePointList,"Category","Headers")

     

    add a new gallery

    Add a label and assign to its text ThisItem.Category

     

    Add a gallery in that gallery and assign colGrouped as its Items

    Now add two an image an label to this gallery and assign the image and Title to those controls.

    this is what you get

    rubin_boer_1-1603288861866.png

    Hope it helps

     

    You can use a flexible gallery to make it look better.

     

    Regards,

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you, that does help. I still have some things to figure out for my particular case, but that was the feature I was looking for 🙂

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard