Solved
Forum Discussion
rohithmadhavan
7 years agoEmployee
You’ll need to implement SuggestExecutionProvider and override the executeForSuggest method for “executing” during validation.
Since you don’t need the “Execute during preview” property, the easiest approach will be to call the execute method within executeForSuggest as follows:
@Override
public void executeForSuggest() {
execute();
}
- robin7 years agoFormer Employee
@del adding
@Category(snap = SnapCategory.WRITE)to the class definition will automatically expose the “Execute during preview” checkbox. As @rohithmadhavan stated, behavior can be customized withSuggestExecutionProvider.See Snap Development Documentation and Snap Development Documentation