External Library
External Library settings are displayed via [Side Menu]
- [Config and Monitoring]
- [External Libraries]
.
This is an extension that allows a library containing one or more arbitrary Node modules to be used in an action.
Tips
External Library Registration Procedure
- Create a zip file containing the external library.
See nodejs.zip creation procedure below for the creation procedure. - Click
"Upload"
at the bottom of the external library list to open a dialog box. - Enter a text description of the library and upload the nodejs.zip file.
- When registration is complete, the registered library will be added to the top of the external library list.
Steps to create nodejs.zip
- Create the nodejs folder.
- Go to the nodejs folder and make it the current folder.
- Install any module you wish.
Example: To include the dayjs module
npm install dayjs - Zip the nodejs folder.
Tips
List of External Libraries
Displays a list of registered external libraries.
Item | Description |
---|---|
Version | Number assigned at registration |
Description | Displays the text entered at the time of registration to the external library |
Operation Menu
Click on the menu to the right of the External Library List to open the following menu.
Menu | Description |
---|---|
Delete | Delete registered external libraries. |
Download | Download registered external libraries. |
Active Library
Specify the version to activate in the registered external library.
After selecting the version to activate, be sure to click the “Save” button.
How to use external library actions
The following is a procedure and example description for using actions from external libraries.
Procedure | Example of description |
---|---|
Loading external libraries | const {object variable} = require(‘module name’); |
Arbitrary statements using object variables | {object variable}.xxxFunc(yyyy); |