Donut charts disappeared on Overview section of the landing page on SOW in Xanadu Patch 5

nnguyen272
Tera Contributor

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!

5 REPLIES 5

Ct111
Giga Sage

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.

 

LINK

Sumanth16
Kilo Patron

Hi @nnguyen272 ,

 

Did you get fix for this issue ?

 

Thanks & Regards,
Sumanth Meda



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. 

 

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.