Make Code
Make Code is a built-in app that allows you to add arbitrary JavaScript or Python code to your scenario.
With the Make Code app, you can write code within the module with the help of an IDE that offers familiar features such as common syntax, auto completion, and error highlighting, or you can add code dynamically from previous modules in your scenario. A fully-isolated sandbox environment, as well as access to standard output and error logs, helps you safely test your code, reducing or eliminating the need for third-party tools. Additionally, the app has built-in JavaScript and Python libraries, and with an Enterprise account you can import custom libraries as well. The code created in your Make Code app module is included in downloaded scenario blueprints, making it easier to share and collaborate.
Key benefits
- Supports JavaScript and Python
- Built-in IDE experience with common syntax, auto completion, and error highlighting
- Fully-isolated sandbox environment to test your code and ensure safe execution
- Access to data outputs and error logs, to help you troubleshoot code executions effectively
- Ability to share code in a scenario
- blueprint
Technical specifications:
- The execution environment allows code to run for up to 30 seconds.
- Each container is allocated 2 CPU cores and 1,024 MB of memory.
For detailed examples of use, please refer to this page.