기본 콘텐츠로 건너뛰기 보완적인 콘텐츠로 건너뛰기

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 Cloud 정부 메모Due 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.

This block supports PHP, Node.js, and Python.

Custom code block input fields

custom code block showing language and code snippet

Limitations

Because the custom code block is optimized for security, it cannot access the internet, leverage third-party modules and packages, or make direct external calls. Since version upgrades may occasionally break customer code we recommend using native blocks and functions where possible.

이 페이지가 도움이 되었습니까?

이 페이지 또는 해당 콘텐츠에서 오타, 누락된 단계 또는 기술적 오류와 같은 문제를 발견하면 개선 방법을 알려 주십시오!