Create and use JavaScript modules in applications with the ServiceNow SDK
Optimize your codebase by defining reusable code blocks with JavaScript modules and the ServiceNow SDK.
시작하기 전에
Add an application to your local system with the ServiceNow SDK. For more information, see Adding applications with the ServiceNow SDK.
Role required: admin
이 태스크 정보
To learn about support for using JavaScript modules in scoped applications, including some limitations, see JavaScript modules and third-party libraries. For general information about the syntax used to create JavaScript modules, see the JavaScript modules page on the MDN Web Docs website.
프로시저
다음에 수행할 작업
To use third-party libraries in a JavaScript module, see Use third-party libraries in applications with the ServiceNow SDK.
To build your application and add the modules to the EcmaScript Module [sys_module] table, see Build and install an application with the ServiceNow SDK.