WaveTemplateConfigurationModifier Methods
Extend WaveTemplateConfigurationModifier with the
following methods.
-
onConfigurationRetrieval. Runs before the wizard starts.
This method is for standard apps only. If the org lacks required data or settings, you can
customize the wizard (variables) based on the org data check or disable app creation. Requires
WaveTemplateInfo:
onConfigurationRetrieval(wavetemplate.WaveTemplateInfo waveTemplate)
-
beforeAppCreate. Runs after completion of the wizard for
standard apps or on app creation for embedded apps. Use this method to avoid errors during app
creation as the result of invalid user selections or org settings. Requires WaveTemplateInfo and Answers:
beforeAppCreate(wavetemplate.WaveTemplateInfo template, wavetemplate.Answers answers)
-
beforeAppUpdate. Runs before app updates based on new
version of the template for standard and embedded apps. Use this method to validate that org
data is compatible with new version. Requires WaveTemplateInfo, Answers, and the previous app
version:
beforeAppUpdate(wavetemplate.WaveTemplateInfo template, String previousAppVersion, wavetemplate.Answers answers)
The methods are optional and all of them can be overridden.