Adding Static Content Block on a Dashboard

Konstantin7
Mega Guru

Having trouble with conditional static content blocks on Dashboard or Homepage. 

We can add a static content block to a dashboard with out any issue. But when we attempt to add conditions on when to display the content, the content is still displayed even if the condition is set to false. What can be done to make it work?

Steps that I did to add a static content block with condition:
1. Create or Open a Dashboard
2. Add Widget (+)
3. Select Context Blocks
4. Search and select "*New Static HTML"
5. Click 'Add' to add to dashboard
6. Click on "Click here" to configure the static html block
7. fill out the form:
   a. give it a name
   b. check the "Conditional" checkbox
   c. type in "false;" into the condition field
   d. type any text into the context field
8. Submit the static html block.
9. Open the Dashboard
Note the static content is still being displayed even though the condition is set to false. We have tried using the "answer=false;" condition but had same results.

1 ACCEPTED SOLUTION

Adam Stout
ServiceNow Employee
ServiceNow Employee

I believe the widget will always be shown on the dashboard.  The display may control if it is blank or not, but there is no way to dynamic show or hide widgets on a dashboard (as far as I know).

View solution in original post

6 REPLIES 6

Adam Stout
ServiceNow Employee
ServiceNow Employee

I believe the widget will always be shown on the dashboard.  The display may control if it is blank or not, but there is no way to dynamic show or hide widgets on a dashboard (as far as I know).

You are right... ServiceNow has got back to me and noted that static content blocks are developed for Content Management (CMS) as stated in one of their KBs: https://hi.service-now.com/kb_view.do?sysparm_article=KB0598070

mattd008
Tera Contributor

Is there a way to give some non-admin users the ability to modify just some static content blocks on a dashboard? We have a process Owner team that wants to add some descriptive info to their process dashboard.

They are thinking that they could modify a static content bolck each month to highlight some trends.

We don't want our admins to be a botleneck and we dont want this process team to be able to modify all static content blocks. Any ideas?

Hi Matt, did you ever find a solution to this? I'm also curious about allowing end-users to be able to update the static html content on the dashboards.