Document Type - DropDown with programatic data source


From the exiting documentation: I know that a DropDown from a DocumentType can be populated either with some static value or dynamic values taken from a ValueListDocument (source property) or from another custom document (valuelistProvider property).

My question is: could the data source of a DropDown from a DocumentType (then available only for Editors) be populated from a Java map (so only be set programatic by the developers)? I was thinking that maybe something similar to the @ParametersInfo interface that exists for the Channel Settings (that is available for the editors in the CMS application - Channel.

Thank you,


We have examples of coded ValueListProviders at [1], which are bootstrapped as in [2]. Then reference those services by id in the field (editor template) configuration.



That is brilliant!!
Exactly what I needed.

Thank you Jeroen