Drilldown not working for "Saved Data Visualization" component in UI Builder

AmberTemple
Tera Guru

Hi all! 

I am configuring the CSM/FSM Configurable Workspace homepage dashboard and adding additional data visualizations. I created the data visualizations in Platform Analytics, and used the "Saved Data Visualization" component, rather than the "Data Visualization" component and building them straight in UI Builder. 

 

The issue I'm running into is that when trying to add an event handler to allow drilldowns, the ones that I added via Saved Data Visualization do not work with the OOTB "Bar Chart Clicked" client script event handler (see first screenshot). Furthermore, I seem to be stuck with the default "Item clicked or View all" event mapping but I cannot add any additional mappings, such as "Visualization clicked" because it is grayed out.

But if I create a data visualization directly in UI Builder, I am able to add the "Visualization clicked" event and "Execute Bar Chart Clicked Client script" event handler. And I can add additional ones if I wanted to (see second screenshot). 

I would ideally like to be able to build them in Platform Analytics so that they can be re-used elsewhere, thus improving scalability. However, my backup option, though not scalable, but still feasible, would be recreate them in UIB each time. 

So my question is two-fold:
1. Does anyone know how I can enable drilldowns with the Saved Data Visualization component?
2. Are there any future plans to bring in a Dashboard component to UIB, where saved dashboards can be displayed, similar to the one that is in the Service Operations Workspace PAR SNC landing page? (This would also be a great solution for my use case)

 

1 ACCEPTED SOLUTION

Not quite. The Dashboard component is not available to add to any page. What you have to do is create a page using the Dashboards template, which includes a Dashboard component and all the under-the-hood configurations for it. Then you can set a saved dashboard as the default dashboard to appear in that component. See https://www.servicenow.com/docs/bundle/zurich-now-intelligence/page/use/performance-analytics/task/a... and https://www.servicenow.com/docs/bundle/zurich-now-intelligence/page/use/performance-analytics/task/a...

View solution in original post

6 REPLIES 6

Mark Manders
Mega Patron

You can add a dashboard component yourself on any page you need it to be on. You aren't sharing the version you are working on (instance/store app) but I know for sure the Dashboard component is available on Zurich.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Not quite. The Dashboard component is not available to add to any page. What you have to do is create a page using the Dashboards template, which includes a Dashboard component and all the under-the-hood configurations for it. Then you can set a saved dashboard as the default dashboard to appear in that component. See https://www.servicenow.com/docs/bundle/zurich-now-intelligence/page/use/performance-analytics/task/a... and https://www.servicenow.com/docs/bundle/zurich-now-intelligence/page/use/performance-analytics/task/a...

Thank you, this is exactly what I needed! 

jeffrubinoff
ServiceNow Employee

There's a KB article on custom drilldown from saved visualization components: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2663434
However, I think you are adding the saved visualization to a technical/advanced dashboard, in which case you use the Advanced dashboards - Redirect handler under the Item clicked or View all event. See https://www.servicenow.com/docs/bundle/zurich-now-intelligence/page/use/dashboards/task/add-custom-d....

jeffrubinoff_0-1769425707610.png