How insert subform based on a role

Hi,

Here i’m trying to insert subform based on a user role for that i created a computed subform and i wrote this formula @if(@contains(@userroles;‘[Helpdesk]’;“HDsub”;“”);

here Helpdesk is the role and the HDsub is the subform name, but is not displaying the subform even i have Helpdesk role, please help me.

Thanks in advance

Subject: how insert subform based on a role

faulty formula …

Looks like you have single quotes around the role, and you have no end paren for @Contains

Subject: how insert subform based on a role

Are you working local instead of working on a server?

If youre working local you have to set “Enforce a consistent Access Control List across all replicas” to make it work.