The Server Script and Client Script in Service Portal Widget Editor is reflecting as empty

IndranilDutta
Tera Contributor

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.

1 REPLY 1

Siddhesh Jadhav
Kilo Sage

Hi @IndranilDutta ,

 

This might be a PDI-related platform issue, as Personal Developer Instances are sometimes not fully consistent and can show unexpected behavior like this.

You can try exporting the widget XML from another PDI or instance and importing it into your current instance to verify whether the scripts appear correctly. It could simply be a temporary platform glitch.

 

Thanks and regards,
Siddhesh Jadhav

 

If this answer helped resolve your query, please accept it and mark it as helpful.