jneale / Xplore

Xplore: Developer Toolkit for ServiceNow
MIT License
193 stars 146 forks source link

Studio does not work when snd_xplore_glasses is enabled #73

Closed jneale closed 1 year ago

jneale commented 1 year ago

(Copied from discussion on https://developer.servicenow.com/connect.do#!/share/contents/9650888_xplore_developer_toolkit?v=4.12&t=DISCUSSIONS)

After updating to 4.12.1 (we are on patch 8 from San Diego), the Studio application no longer works. When we want to "add an existing file" in Studio, the pop-up still loads and nothing appears. I opened a case in ServiceNow support and they suggest:

  1. As a solution we recommend to use $j in scrips instead of top.$j .
  2. In order to use Angular or JQuery in custom scripts, you will need to import it into the script or into a Global UI Script to make it available to all client scripts. If the UI script snd_xplore_glasses is disabled, the Studio App works correctly.
jneale commented 1 year ago

ServiceNow KB: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1116237

jneale commented 1 year ago

Fix shown in #75

jneale commented 1 year ago

Fixed.