I'm building a Visio and for user convenience I made a hidden page with the InitVar option.
This hidden page serves as an easy place to find the variable names and can be used for some comments regarding the visio that is useful for a developer.
But when deploying the visio, I noticed that the variables weren't filled in. It seems that they only work when the InitVar option is located on a displayed page.
Is this intentional or could this maybe be an improvement that Cube loads in the InitVar regardless of which page is opened and shown?
Hi Michiel,
InitVar execution is done when the page is loaded.
If your page is hidden and eventually displayed, then it will initiate the variables at that point in time, however, if the page is always hidden then those variables will not be initiated
To clarify further, the initvar is not even done when the tab name is shown, ONLY when the tab is actually opened.