The Server Script and Client Script in Service Portal Widget Editor is reflecting as empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
When I am opening any widget in editing mode in Widget Editor and when I try to see the codes defined under Client Script & Server Script for a specific widget, they are reflecting as empty, but the HTML and CSS sections contains specific codes.
Now, when I am opening that same widget in Platform/Native view, I can see that the Client & Server script sections have proper code defined in them.
Prefer refer the screenshot which I've attached.
I've already tried clearing browser and instance cache
I've also checked acls, but this is not related to it because even though I am having "admin" and "sp_admin" role I am not able to see.
Please help me here as I am unable to understand what could be the possible reason for this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Yes, you are correct @Ankur Bawiskar
This issue is independent of the Application Scope in which I am.
Hi @PrajaktaG308421 ,
I would like to mention that I've already gone through all these details which you've shared even before sharing this post.
But the issue which I've mentioned is overpassing all the states you've already mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Ankur Bawiskar ,
I specifically mentioned like sometimes there is chance to happen. I didn't mentioned specifically it is happening because of scope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I don't think this ever happens.
Could you please give 1 example and share screenshot where it happens?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @Ankur Bawiskar & @PrajaktaG308421 ,
My issue is resolved now.
Actually there is a page with id=widget_editor. This page contained a Container which has been customized, and as a result of which the issue has occurred.
As per ServiceNow, this Container inside the widget_editor should not be customized, i.e. it should be OOB.
After reverting back the changes to OOB, the issue is fixed now.
Thanks for your assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
same issue for other admins on this widget?
are they able to see or not?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
