Hi everyone,
can anyone please show me the expression to make my Task Tab visible only to the selected user group.
Thanks in advance
Discussion posts and replies are publicly visible
Did you check this functions?
https://docs.appian.com/suite/help/21.1/fnc_people_isusermemberofgroup.html
docs.appian.com/.../fnc_people_loggedinuser.html
Thanks, Stefan. What i wanted is to check if the logged-in user is a member of a group. Only then can a task tab be accessed. loggedInUser() = "MyGroup". Will that work, if not can u correct the expression please?
or is this expression correct: isusermemberofgroup( loggedInUser(), MyGroup ) ? if not, can you please help formulate the expression correctly?
The summary view can not be made invisible. The reason is that general access to the record is implemented by default filters.
Checking for group membership is done using the function isusermemberofgroup()
docs.appian.com/.../fnc_people_isusermemberofgroup.html
What I wanted to hide is the Task Tab, which I only want to make available to the Supervisor group on my Site. Do u get my point now ?
You can define visibility using the provided information. In addition to that you can define visibility of any component on an interface with the showWhen parameter?
Does that help?
I m sorry, but I think a practical example would help. I already mentioned the scenario. I want to show the Task Tab on my Site only to Supervisor group. What would be the expression to do that in the interface then?
All the details are already there.
Use isusermemberofgroup( loggedInUser(), MyGroup ) to check whether the user is in a group
and put this code into visibility for record views or showWhen for certain components.
Will this work?
isusermemberofgroup(loggedInUser() ,SupervisorGroup)
That is my question if that expression will work. What is on the link you sent is how to check a known username (isusermemberofgroup( username, groupId )) , which is not my intention. What I want to do is this : isusermemberofgroup( loggedInUser(), MyGroup ). I am not sure if that is correct