Donut charts disappeared on Overview section of the landing page on SOW in Xanadu Patch 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:00 PM - edited 01-16-2025 10:02 PM
I have a customized landing page cloned from the OOTB one. The logic change in the SowIncidentLandingPageUtils UX Client Script Include is to add more donut charts. But after the upgrade the layout was broken and charts were not rendered in the layout (see attached screenshot).
Error message in console: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'context')
at ServiceDeskLandingPageUtils.getDonutConfig
Related property: api.context.session.user.roles
Related record: SowIncidentLandingPageUtilsSNC UX Client Script Include
Have any faced this issue before and had a resolution for it? I've searched about the property and seem that it can be called in client script. But I don't know why it was undefined.
Really appreciate your help on this matter!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:38 PM
Have you created the copy of the script and made changes if not then it is bound to throw this error I guess
Please see below article where this is highlighted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 12:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 12:11 AM
Hi @Sumanth16 ,
Yes, I've resolved it. There was a new argument defined in the SowIncidentLandingPageUtilsSNC UX Client Script Include, but it was not passed when calling its function via the UX client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 11:20 AM
Hi @nnguyen272 ,
I am unable to edit UX client script. Can you provide me the script which you updated in UX client script.
Thanks & Regards,
Sumanth Meda.