custom widget not working on landing page of Service operations workspace.

as00929632
Tera Contributor

I want to create a custom widget inside overview section to show newly created change requests on Service operations workspace landing page(xanadu version).

 

I followed this blog to create a custom widget. Performed the same steps mentioned in the blog.

https://incident.do/2023/02/21/adding-a-visualization-to-the-overview-section-of-the-servicenow-serv...

 

Now widget is visible on landing page, however, on clicking the donut, list is not loading below it. 

 

Please guide how I can resolve this.

6 REPLIES 6

Shivalika
Mega Sage

Hello @as00929632 

 

Have you defined the click event  on the donut chat that is mapped to data source ? 

 

You can check this by clicking the donut chart components and in the right side there should be events. If not already there please create an event - that is responsible for data source refresh and list update. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Yes I mapped the event correctly as described in the blog.

Ankur Bawiskar
Tera Patron
Tera Patron

@as00929632 

that onclick logic should be within your widget code.

did you write that there?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes Ankur, I have written that. 

 

I have performed exact same steps mentioned in the blog like writing code, attaching events etc