HowTo: hidden variables

Most likely, unless you are a developer, you will not have to deal with hidden variables.

As its name indicated hidden variables are used to store data that it is neither shown to the user nor printed in the browser or final document.

If you define a variable as hidden within the editing interface:


As explained before it will not be shown and will have to be loaded via any of the Docxpresso programmable interfaces (SDK, JavaScript, external service, …).

Nevertheless, standard users may find some use for hidden variable as a hack to control “blocks of content”.

In Docxpresso blocks of content can only be hidden or shown if they contain a variable (otherwise the management of long and complex documents would be hellish). Therefore one may “hack” this restriction by introducing hidden variables with the only purpose of controlling such blocks of content.