Class CustomFormListPopupInputBuilder


public class CustomFormListPopupInputBuilder extends AbstractInputBuilder<CustomFormListPopupInputBuilder,Object>
  • Constructor Details

  • Method Details

    • _getInput

      protected Object _getInput()
      Specified by:
      _getInput in class AbstractInputBuilder<CustomFormListPopupInputBuilder,Object>
    • withSubsetFilter

      public CustomFormListPopupInputBuilder withSubsetFilter(Filter filter)
      Allows you to set a filter criteria to filter Custom Forms that will be visible in the pop-up modal.

      Example – displays only the Custom Form with the CFO-123 uniqueName:

      
       if (api.isInputGenerationExecution()) {
            return api.inputBuilderFactory()
                    .createCustomFormListPopup("customFormPopup", "123.CFOT")
                    .setLabel("Select a Custom Form")
                    .withSubsetFilter(Filter.equal("uniqueName", "CFO-123"))
                    .getInput()
        } else {
            input.customFormPopup
        }
       
      Parameters:
      filter - A filter setting using Filter.
      Returns:
      CustomFormListPopupInputBuilder
      Since:
      12.0 - Clover Club
    • withRecalculateParentOnPopupConfirm

      public CustomFormListPopupInputBuilder withRecalculateParentOnPopupConfirm(boolean value)
      Recalculates the parent document when a user confirms the pop-up dialog.

      Example:

      
       if (api.isInputGenerationExecution()) {
            return api.inputBuilderFactory()
                    .createCustomFormListPopup("customFormPopup", "123.CFOT")
                    .setLabel("Select a Custom Form")
                    .withRecalculateParentOnPopupConfirm(true)
                    .getInput()
        } else {
            input.customFormPopup
        }
       
      Parameters:
      value - Set to true to recalculate the parent document when a user confirms the pop-up dialog. Default=false.
      Returns:
      Since:
      12.0 - Clover Club