Перейти к основному содержимому Перейти к дополнительному содержимому

Custom code block

The custom code block lets you use custom code in your automation. Because the output of this block is used as the input for other blocks, the script must use a JSON-encoded print/echo or equivalent.

Примечание о Qlik Sense Enterprise SaaS GovernmentDue to U.S. Government specific control requirements, the Custom Code block is not supported by Qlik Cloud для правительства. Using a Custom Code block in a Qlik Cloud для правительства tenant will generate an error message (Custom code block not allowed).

custom code block

A custom code block is commonly used in the following situation:

  • When you want to customize your automation beyond what is available with blocks.

Configuring a custom code block

Configure the custom code block to execute custom code.

Inputs

The custom code block requires that you specify the code language and provide the custom code. You can add variables if needed.

Custom code block input fields

custom code block showing language and code snippet

Помогла ли вам эта страница?

Если вы обнаружили какую-либо проблему на этой странице и с ее содержанием — будь то опечатка, пропущенный шаг или техническая ошибка, сообщите нам об этом, чтобы мы смогли ее исправить!