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.

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.