I have implemented a visualization table containing references to configuration and tuneup parameters for my client. The visualization's user management consists of several login groups, only some of which are permitted to modify table values. I am able to implement this functionality minimally using the "Access Rights" property. When inputs are disallowed in this way, the table colors are modified as an indication.
The problem is that there is no control over the color selection and the colors automatically selected are unattractive. As an alternative I attempted to place a semitransparent rectangle in front of the table that intercepts clicks (effectively disabling table input) while producing a more visually pleasing presentation. The problem with the alternative is that the "access Rights" mechanism will not allow this rectangle to be invisible for groups with higher permission and visible for groups having lower or no permissions.
I have tried looking up the current sessions group name (as suggested in some example projects) but have come up with an empty wstring.
Ok, I've been able to make the code snippet below to work, to get the group name for each active session. However, how would an active screen determine in which session it is being displayed?
I have implemented a visualization table containing references to configuration and tuneup parameters for my client. The visualization's user management consists of several login groups, only some of which are permitted to modify table values. I am able to implement this functionality minimally using the "Access Rights" property. When inputs are disallowed in this way, the table colors are modified as an indication.
The problem is that there is no control over the color selection and the colors automatically selected are unattractive. As an alternative I attempted to place a semitransparent rectangle in front of the table that intercepts clicks (effectively disabling table input) while producing a more visually pleasing presentation. The problem with the alternative is that the "access Rights" mechanism will not allow this rectangle to be invisible for groups with higher permission and visible for groups having lower or no permissions.
I have tried looking up the current sessions group name (as suggested in some example projects) but have come up with an empty wstring.
I'm open to any suggestions such as ...
Ok, I've been able to make the code snippet below to work, to get the group name for each active session. However, how would an active screen determine in which session it is being displayed?
There is a global variable CurrentUserGroupName available.
Create a function and call it in the element.
Best regards,
Marcel
Marcel,
Thank you so much! I have been wanting to know how to do this for almost a year. That is exactly what I was looking for. It works perfectly.
Marcel, I owe you a big beer for this.
Best Regards
Rick