Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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). 

...

hiddentrue

...

Answer

You need to set the dmSourceName property:

Code Block
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.