UI Builder - How to go to list view/backend view after clikcing Pie Chart
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours 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?
const urls = `https://sn.service-now.com/incident_sla_list.do?sysparm_query=${encodedQuery}`;
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?
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?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
47m 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
