I have two viewer groups with end users in them. My goal is to have one group that can only view a specific page and another group that can view and interact with the functionality on the page (Add items, delete items, reorder items, etc.)
How could I accomplish this?
Discussion posts and replies are publicly visible
As an example I have a button that allows a user to add an item. But for my view only group, I just want them to see the button and not interact with it.
Interface objects have showWhen and some have disabled parameters. Add a condition using a!isUserMemberOfGroup() to check whether the logged in user (loggedinuser() function) is member of that group. Store your groups in constants.
docs.appian.com/.../fnc_people_a_isusermemberofgroup.html
Yeah what Stefan described is a good approach. One thing to keep in mind is that there isn't a site-wide "Disable" or "Read-Only" option. Instead, you probably need to set the property for each component within a UI individually. There's also a good example if you use the "Create from CDT" template in Interface Designer that shows how to have a single interface that can be either editable or read-only based on a condition. If you use that as a starting point, you can then use the function above to actually set up the conditional logic.
Well explained by peter and Stefan.I would ask the question, if they need operate on the same interface? Is a report sufficient for one group?
Thanks! We ended up using a!isUserMemberOfGroup() and it worked fine.
Thank you for the advice!