...
Method 1 - Create a file with your JavaScript . Name it custom.js. The custom.js file can be uploaded to an application or on the tenant level.
- If a designer uploads a custom.js file to an application, it is only available for forms/flows in that application. Refer to Method 1a below for the details.
- If a superuser/tenant admin uploads custom.js to the tenant, then the custom.js will be available to all forms/flows in the tenantsthe tenant. Refer to Method 1b below for the details.
Method 2 - Add a Message Control that contains your JavaScript. Refer to Method 2 below for the details.
Method 1a - Upload custom JavaScript to an Application
...