Skip to content
On this page

How to develop a Custom Command

We have recently opened our Command engine to be able to accept and use Custom Commands developed by third parties and our community. This presents advantages for everyone, from developers to the ultimate end-user. However as this is an advanced feature, it is made available to developers who are already familiar with JavaScript nodeJS as we do not provide direct support for the development of Custom Commands.

.custom-command-sample/
├── config.json
└── script.js

In the RTILA custom command, we have two main files, config.json and script.js. The config.json file contains a description and a configuration of our custom command as well as the fields! The script.js file contains the JavaScript code and also we used this file to retrieve field values from the config.json file!

INFO

custom-command-sample/ is the name of folder that contains the config.json and script.js.

IMPORTANT

The custom-command-sample need always to be the same that in config.json file type

json
{
    "type": "custom-command-sample",
}