Function Variables: Dynamic Definitions
Scripts for dynamically defining select-options for function-variables. Usage information: Comet documentation
Func_Var_Placeholder_Datepatterns
Id: 996
Gets the keys of all datepatterns stored in the dates-library (at renderpdf/comet/library/framework/dates.py) and sets them as available values of the function variable.
Func_Var_Placeholder_Locales
Id: 997
Gets the values of all locales stored in the localizer-library (at renderpdf/comet/library/framework/localizer/languages_info.py) and sets them as available values of the function variable. Also adds a value from constants.py (FVAR_DYNAMIC) for dynamically selecting the value from base-node-property @lang of the current entity.
Func_Var_Placeholder from Constants
Id: 999
Gets the values of a constant (in constants.py) by the same name as the function-variable and sets them as available values of the function variable.
For Example:
Functionvariable gNodeType -> constant G_NODE_TYPE -> values: ["product", "sku", ...]
Static Images
Id: 998
Sets the relative paths of files in the renderpdf/comet/images-folder as the available values of a functionvariable.