- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Do you know prior to the Tokyo Release, ServiceNow’s server-side JavaScript utilized ECMAScript 5. “ECMAScript” is basically the version of JavaScript. Newer versions have come out with some helpful functionality.
The client-side script runs in your web browser so usually, any client script you’ve made on ServiceNow could utilize the newest JavaScript features, but any script running on the server was limited to ES5.
To utilize ECMAScript 2021 on your app, just follow these simple steps:
- Make sure your instance is upgraded to Tokyo.
- Create a new app via your preferred method (eg. Studio or App Engine Studio)
- Open the sys_app page for your app.
- Under “Design and Runtime” change “JavaScript Mode” to ECMAScript2021(ES12).
- Save your record. That’s it.
If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL
Best Regards,
Prashant Kumar (LearnIT)
YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant
Blog LearnIT: https://medium.com/@LearnITbyPrashant
Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/
ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635
- 985 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
