I have the following variables set:
Set(varIsHierarchyEmployee,"Employee");
Set(varIsHierarchyPark,"Park");
Set(varIsHierarchyRegion,"Region");
Set(varIsHierarchyNational,"National");
I have many screens that resemble the functionality of the one below. I would like to restrict access to the Dropdowns/Combo Boxes, and the information filtered/displayed in said Dropdowns/Combo Boxes and any Galleries on the screen.
Example (UserName is being pulled from the active directy):
1. Park Dropdown has ComboBox2.Selected.Park in the default (pulling the default location of the User from a main screen combo box. I currently have If(varIsHierarchyEmployee=true, DisplayMode.Edit,DisplayMode.Disabled) in the DisplayMode. The User in the example does have a hierarchy of 'Employee'.
2. Region Dropdown populates based on the content of the Park Dropdown.
3. The Gallery Items is set to Filter(LocationDetailList, Park=LocationParkDD.Selected.Park)
4. What I'd like to do is install a global variable, condition, formula that will do the above on every page automatically.
Is this possible?
