24 juni 2025

Reload-time variable updates and variable constraints

Deel dit bericht

To support dynamic reload workloads, reload-time variable updates and variable constraints have been added for Analytics apps.

Using the new variables property on the Reloads API, you can set variables directly in a reload request, enabling dynamic app behavior without editing the load script. This reduces complexity, improves deployment automation, and brings parity with QlikView-style task-driven customization.

To prevent accidental or unauthorized overrides, you can now constrain variables in the load script. This ensures that certain variables must meet specified criteria even when passed dynamically. This protects your app from malicious or malformed variable input that might break app logic or SQL queries, and unintended overrides in templated apps.

Reload-time variable updates can be used alone to streamline deployments. Constraints can be used independently to validate variable values.

Together, they form a secure and flexible configuration model for large-scale, multi-tenant, or dynamic deployments.

For more information about reload-time variable updates, see the changelog entry on the Qlik Cloud Developer Portal.

To learn about setting constraints, see the Constrain reference on help.qlik.com and the GenericVariableConstraints schema.

Hoe kunnen we je ondersteunen?

Barry beschikt over meer dan 20 jaar ervaring als architect, developer, trainer en auteur op het gebied van Data & Analytics. Hij is bereid om je te helpen met al je vragen.