Forum Discussion
JoshHamilton
2 years agoQrew Trainee
What you could possibly do is use create a condition that uses the 'UserRoles' function. Something like
If(Contains(UserRoles("Name"),"Not Smart")=true,
etc.
or create it as a bool variable and for each hide/show condition use it in there like
var bool role = Contains(UserRoles("Name"), "Not Smart";
var text rowOnebuttonOne = If($role=true and [Job Milestone]<>"Opportunity",$onebuttonhtml,"");
I'm sure there is a better way to make it fit into your code, but I would say that those methods should at least point you in the right direction.
------------------------------
Josh Hamilton
------------------------------