RegisterJavaScript Overview

“RegisterJavaScript” is a service that can be used to register a javascript code on the page.

The benefit of using RegisterJavaScript to other ways (other ways are to use external JavaScript files or use HTMLGenricControl field), is that you can register the script based on defined conditions. Example: we can use other EASYProcess services to check whether we want to run the script or not.

RegisterJavaScript Use Examples

The service RegisterJavaScript is used to register or run a javascript code snippet from a process.

Basic RegisterJavaScript Use

In this example we have a list section with user names and their statuses. The fields above the list section are used as filters to search through the users. We are using “RegisterJavascript” service to clear the filter fields.

The service “RegisterJavascript” can be found under the “HTMLServices”. We can drag over the service to use it.

Here’s a closer look at the service inputs in this button process:

Notice that we are using