Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Can content blocks on dashboards be restricted by roles?

abardin
Tera Contributor

I am working with a dashboard that has an iFrame content block on it to display a link using a URL. The requirement is to have the iFrame be restricted to a certain role, just like other reports on the dashboard. I have not been able to find a way to restrict content blocks based on role. I tried the Conditional checkbox on the static html content block but was unable to get it to limit access based on condition script. Is this possible to do from a dashboard?

1 ACCEPTED SOLUTION

Mike_R
Kilo Patron
Kilo Patron

I had similar requirement and couldn't find a way OOTB.

I ended up just added some code to the content block. Example

Mike_R_0-1667839043643.png

 

View solution in original post

1 REPLY 1

Mike_R
Kilo Patron
Kilo Patron

I had similar requirement and couldn't find a way OOTB.

I ended up just added some code to the content block. Example

Mike_R_0-1667839043643.png