Clone Report Widget Issue

ThiagoHayashi
Tera Contributor

I cloned the report widget, and tried to use it in my application. However, it displays an error. Does anyone know how to solve it?

Error message:

ThiagoHayashi_0-1751983702332.png


The widget shows this:

ThiagoHayashi_1-1751983716126.png

3 REPLIES 3

debendudas
Mega Sage

Hi @ThiagoHayashi , 

It is not recommended to clone the OOTB Report widget in the scoped application as multiple OOTB script in the server side is restricted in scoped application due to security restriction.

 

But if you really need to clone it in the scoped application you can follow the below script changes (Again, it is not recommended😞 

1. 

chartHelpers.i18n.isRTL = false; //GlideI18NStyle().getDirection().equals('rtl');

2. 

chartHelpers.device.type = "doctype"; //GlideMobileExtensions.getDeviceType();

3. 

defaultDate: new GlideDate(), //SNC.ReportUtil.getNowTimeInUSFormat(),

 

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up👍

I have inserted the changes, but the calendar still does not appear.

ThiagoHayashi_0-1751991268320.png

 

 

Any errors coming up?