After Xanadu upgrade server side scripting blocks are showing as empty.

mourya
Tera Contributor

After the upgrade to Xanadu, all scripts(client/server) where the script block are showing as empty and the script block is not editable for any user(admin also.

Please advise here what might cause this issue or any solution to this?

Screenshot of some script include where the script block is showing as empty but actually there is some script in it and getting hidden once the form is loaded

mourya_0-1733411788855.png

 

 

8 REPLIES 8

woodyfairley
Tera Guru

Could this be a font or font color issue in the script editor? Try highlighting in the script field...

vaibhavshar
Tera Contributor

Hi Mourya,

 

Have you got the solution for this?

Ankur Bawiskar
Tera Patron
Tera Patron

@mourya 

Did you try to clear instance cache using cache.do and logout and login again?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Runjay Patel
Giga Sage

Hi @mourya ,

 

Check xml file for the record, if there its present then client side scripting will be culprit for this. 

If xml file have the scripts then do below

 

  • Open the browser developer tools (e.g., F12 in Chrome).
  • Inspect the script block element to see if it's hidden or disabled by a client-side script.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------