How to Set Configurator Using Parameter of Type DMFILTERBUILDER

Question

I'd like to see an example of a configurator which uses a parameter of type DMFILTERBUILDER (or something else that would reflect the api.datamartFilterBuilderUserEntry).

Answer

You need to set the dmSourceName property:

configurator.createParameter(InputType.DMFILTERBUILDER, "Transaction data filter").addParameterConfigEntry("dmSourceName", datamartName)

Note also that from version Collins 5.1, there is a new convenient way to configure the inputs: using a new method in Public Groovy API api.inputBuilder() which returns an InputBuilder class allowing to create a specific input.

Found an issue in documentation? Write to us.