WaveTemplateConfigurationModifier Apex Examples

Examples include setting computed values for questions, hiding a question, managing enum values, working with array type variables, and more.

Create your class:

Set the computed value for one of the questions:

Hide one of the questions:

Remove an enum value from the dropdown list box using the specified array index:

Populate the enum values in the dropdown list box (StringType variable):

Given the following ArrayType variable:

Add more values to the ArrayType variable enums:

Reduce the possible answers via the excludes:

Set a variable answer before the app creates. Updating answers overwrites any value the user selected in the wizard:

Set a variable answer before the app updates. Updating answers overwrites any value the user selected in the wizard: