Force refresh saved data visualization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago - last edited 2 weeks ago
I'm using a Platform Analytics saved visualization in a SOW homepage. I need a way to force refresh the visualization after a button is clicked. However, there is no refreshRequested property when you use the saved visualization component. I've also tried api.data.visualizationname.refresh() in a client script and that also does not work. Anyone have any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello @Kim Sullivan
Could you please share the Saved Visualization component's Events tab in UI Builder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
There are a few things here as I'm updating a list when someone clicks the visualization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello @Kim Sullivan
"Refresh requested" (property/input of component) cannot be added to a Saved Visualization because it is not an exposed capability of that component. UI Builder can configure existing component events, but cannot introduce a new refresh input that the component does not support.
My recommendation would be to create a new single score visualization for real-time updates or any other new visualization type and a declarative action to refresh: https://www.servicenow.com/community/next-experience-forum/ui-builder-refresh-single-scores-via-butt...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Yes, I’ve discovered that as well. I’d prefer not to have to create visualizations specific to every dashboard. Hopefully, someone else knows a way to do this or SN adds additional functionality.