Skip to main content

Cloud Code

Cloud Code is a feature that allows you to write and execute server-side scripts. You can create cloud code tables, write scripts in the code editor, and then test and deploy them.

Activate Service

To use the Cloud Code feature, you must first activate the service. Click the activation button to start the service.

Cloud Code Table Management

Table List

FieldDescription
CodeUnique code of the cloud code table
NameCloud code table name
Modified DateLast modified date
Created DateTable creation date
ActionsEdit, Delete buttons

Register Table

To register a new cloud code table, click the Add button at the bottom of the list.

FieldDescription
Name *Enter the name of the cloud code table

Edit Table

Click the edit button in the list to modify the cloud code table's name.

Code Editor

Click the code in the table list to navigate to the code editor page. The editor page consists of the Editor tab and the Test tab.

Editor

In the editor tab, you can write and manage cloud code scripts.

FieldDescription
Version SelectionSelect the version of the written script. The currently deployed version is indicated
Save as New VersionSave the current code as a new version
DeployDeploy the selected version
DeleteDelete the selected version
info

The currently deployed version cannot be deployed or deleted. You must deploy a different version first before managing the previous version.

Test

In the test tab, you can execute and test the written cloud code scripts.

FieldDescription
Version *Select the script version to test
Function *Select the function to execute
Parameters *Enter test parameters in JSON format

The test results are displayed at the bottom after execution.