Clone Report Widget Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 07:10 AM
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:
The widget shows this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 09:01 AM
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👍!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 09:14 AM
I have inserted the changes, but the calendar still does not appear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 11:29 AM
Any errors coming up?