Skip to main content

I've worked out how to hide a panel from everyone except one group of users using the 'IsMemberOfGroup' under Settings--> Appearance-->Visible.

However, I can't work out how to get it to work for multiple groups as well as a user (ie CreatedBy)

Scenario - for our onboarding process, the hiring manager (ie CreatedBy) completes the form, including payroll information. Once submitted, I would like the payroll information to be hidden from everyone except the payroll and finance teams. Is this possible?

Thanks in advance!

Hi,

To check the member ships you could use the below expression:

fn-Or(fn-IsMemberOfGroup("Payroll"),fn-IsMemberOfGroup("Finance"))

However there is issues with nesting to try to get more results in the expression to include the CreatedBy. Not available in or statements or ifs, which is a bit of a shame and would be nice to add in the future.

You could put the output of the above expression into a named textfield and then subsequently use that with the CreatedBy in a expression to achieve your final panel hiding.

cheers,

Mark


Reply