Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

UI Builder Event Handler in Dashboard

Ace009
Tera Contributor

I have a dashboard component that has 2 Data Visualizations elements (a Pie chart and a Simple List). Im having trouble trying to fire off Event Handlers for them. I can create other Data Visualization components with event handlers but Im not sure how to do so when the components are in a Dashboard. Unlike the other components, the dashboard only has 2 Event handler types compared to say Simple List.

 

I tried creating a "Link to Destination" type event. But I noticed when filling in the destination, I cant typeahead on the table/sys_id fields (ie @payload.table). Clicking any reference link gets me a Page cannot be found error.

 

What events Id like:

 

- If user selects the pie chart slice, takes them to my List page

- If user selects a record/reference in the Simple List, takes them to my Record page

- If user selects "View all" in the Simple List, takes them to my List page

 

Any help is appreciated!

1 REPLY 1

Lucas S Pereira
Tera Contributor

try to see the SOW workspace, there you have what you are looking for