configure in technical editor, if I click on any column, navigate to respective lists in native view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
In Technical editor, UI builder, If I click on the ITIL user, incident assigned to ITIL users only should get open in the new tab from the incident table in the list view/ native view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hello, normally you should be able to trigger the redirect from the available Visualization Clicked event (DOCS )
But since you mention using the native view, I was trying to use an external url concept on the Advanced Dashboard - Redirect event.
But, for some reason, this is actually not working for an external url, I am not sure why, maybe someone else can help here.
So I went for another solution just using a client script:
/**
* {params} params
* {api} params.api
* {any} params.event
* {any} params.imports
* {ApiHelpers} params.helpers
*/
function handler({
api,
event,
helpers,
imports
}) {
api.emit('NAV_ITEM_SELECTED', {
external: {
"url": event.payload.params.table + "_list.do?sysparm_query=" + event.payload.params.query,
"target": "_blank"
}
});
}
By triggering the navigation event from the client script, we can make it dynamic and use whatever url we want. So this is a generic way to do it.
(Do not leave the client script naming like what I did, it was just to answer your question, give it a meaningful name)
As a result when clicking on one of the bars we get here:
I hope this helps !
