is it possible to hide or remove widgets dependent on the user group?
For context: the admin may start the machine in safe mode and can change the acceleration in the settigns,
but the operator can only define the position in the settings and dont see the options for a safe mode, so he also dont get confused about it.
Thanks in advance!
Solved! Go to Solution.
unfortunately that is not possible at the moment, but it will be one of the important features in the next version WebIQ 2.10, which we want to launch in the summer.
As a workaround, a LocalScript can be used to write the user level to an auxiliary variable, e.g. virtual item 'virtual: userlevel'. When the HMI is started and the LocalScript is executed, it writes a numerical value to the item, which depends on the user group of the logged on user. This is defined in the LocalScript as follows:
I have attached a test app as an example.
I know it's a bit inconvenient, but a comfortable solution will come soon in the next version.
I hope this helps for now
I wish you success