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 / Dynamic List of Items ...
Power Apps
Answered

Dynamic List of Items (Section Headers)

(0) ShareShare
ReportReport
Posted on by 6

I have built a supply chain review app which asks a set of questions, broken down into 5 sections, about the performance of a supply chain partner. As each question comes up, the relevant section is highlighted above, showing the user the context of their question.

 

Screenshot 2022-09-17 at 19.40.48.png

 

Other departments in my business now want to use the app, which is cool, but they have different sections. I can't think of a way to do this dynamically, i.e. upon load, the app checks the sections on the relevant departments SP list, then displays them. I can do this in hard code, but with different depts wanting to use the app (we employ over 4000 people) I would rather it was dynamic based on maybe a hard limit of 5 sections.

 

I hope I have explained this simply enough...

 

As an example, my dept uses the sections - SHE, Product, People, Sustainability and Management. Another dept want to use - Quality, Return Rate and Technical. 

 

I have used HTML text to create the section indicators by the way, then based on the current section, the border is highlighted.

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @russ-parks ,

     

    The only way I can think of is using a list to manage the departments and sections. For example, a List named "Sections" where lists unique sections and a column "Department" includes different departments for each section. 

    vjefferni_0-1663578482603.png

     

    Another case is some departments may share same sections, then the List will have unique departments and a Choices column to select multiple sections for the department of the same row:

    vjefferni_1-1663578887588.png

     

    With a list like the two tables, you will be able to check the department of the user logged in, filter the list and use a horizontal Gallery to display the sections belong to the users department. OnSelect of the Gallery then set to update a variable to hold user selected section and display corresponding questions.

     

    Best regards,

     

  • russ-parks Profile Picture
    6 on at

    Hi, thanks for the reply, my data is setup almost exactly like this. I forgot about the gallery option, that's where I will head with it. 

     

    🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard