Hitachi

JP1 Version 12 JP1/Navigation Platform Content Editing Guide


5.11.1 About JavaScript Plugin parts

A JavaScript Plugin Part is an I/O Plugin that contains server-side JavaScript running on a server or client-side JavaScript running on a web browser (on a client). In a JavaScript Plugin Part, you can define input and output parameters that can be used as values of the variables inside the JavaScript. You can also pass JavaScript I/O data between a JavaScript Plugin Part and a Guide Part placed in the same guide area.

Executing a JavaScript Plugin Part triggers the following processing:

  1. The information set in the Attribute Settings window for the JavaScript Plugin Part is acquired.

  2. The cached value stored in the input parameter is set in the variable inside the JavaScript.

  3. The JavaScript is executed.

  4. The value set in the variable inside the JavaScript is stored in the output parameter as a cached value.