I would like to make an breadcrumb for navigation. I'm building a react component for this so I have the possibility to use the react router data, but it seems that that there isn't much help in that.
For an building management system the breadcrumb may be something like:
Home > Building 3 > Level 2 > Room 2-12
My idea is to set up the url in a strict matter. Something like
/building/3/level/2/room/2-12/
Then the user of the component can make a script to parse the url into parts:
[
{"label": "Building 3", "url": "/building/3/"},
{"label": "Level 2", "url": "/building/3/level/2/"},
{"label": "Room 2-13", "url": "/building/3/level/2/room/2-12/"}
]
I'm new to Ignition so I'm not sure if it makes sense to do it like this. Does this require to make a page manually for each rom? Or can UDTs be used?
Thanks for any advices!