UI Builder - How to go to list view/backend view after clikcing Pie Chart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I have a pie chart which has a Visualization Clicked - client script.
I am able to generate the proper backend url in the client script.
Ho do i execute that link?
Do I need another event like link to Destination? if so, how to make it work?
or
Can I execute the url directly somehow in the client script?
This is the urls variable that has the correct value.
Can I pass this value to a client state parameter and then use the link to destination action and pass the client state parameter there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Yes you have to trigger this URL via the event handler Link to Destination or via api.emit("NAV_ITEM_SELECTED")
For reference check this https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1635275
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Dibyaratnam,
Thanks for the reply.
I am able to open a new custom page within the experience with the queries of the pie chart, but still now sure how to directly open a url.
If I do link to destination - it doesn't allow me to do scripting, only binding or static value.
Can you please help with that too?
