Application icon

Extract IDs from Prompt Container

This statement allows you to get and set various information based on the stateID and valueID per row keys in a container designed to be displayed by the Prompt from Container statement.

Note that all modes of this statement set the named variables associated with a rowReference key.

At times a container may be conditionally displayed. One example is a configuration panel. However, the containers configured for a Prompt from Container statement can specify runtime setting and/or named variable interaction. The containers can also contain items defining how and when values should be empty. If a container is not going to be displayed, it can be cumbersome to initialize and possibly modify runtime settings and named variables as the container's rules would have to be duplicated. This statement has various modes to ease the interaction between a container, runtime settings and named variables.

Note that this statement bases its functionality solely on the ID keys. All non separator rows are processed, even if they are disabled.

The following modes are supported:

Set Named Variables from Runtime Settings

An attempt will be made to load runtime settings of the names specified in stateID and valueID items and save them to named variables of the same name. The following holds:
Set Named Variables from Runtime Settings Using Placeholders

Same as above except: if there is a valueID item; and the named variable results in being empty; and there is a placeholder in the row; then set the named variable to the placeholder. valueInit takes precedence over placeholder.

Clear Named Variables

Named variables of the names specified in stateID and valueID items, will be cleared.

Set Runtime Settings from Named Variables

The value of named variables with the names specified in the stateID and valueId items, will be saved to the same named action runtime setting.

Note that the autoSaveSuppress0State and autoSaveSuppress0Value settings will be honoured.

Set Container from Runtime Settings

state and value items in the container will be set based on the values of runtime settings with the same name as the stateID and valueID names.

Set Container from Named Variables

state and value items in the container will be set based on the values of named variables with the same name as the stateID and valueID names.

Set Named Variables from Row References

There are times when you create the container and need the row references to finish the structuring of the object before displaying it. While all modes set named variables from the row references, this mode does nothing else.