Using ValueListProvider with DropDownList in ChannelInfo

I’ve created a ValueListProvider which provides a list to a dropdown in a component just fine, using the example linked to from this page.

I’d like to use the same list in the ChannelInfo interface, and have managed to get a DropDownList displaying in my settings tab. However, the dropdown is empty unless I use a hardcoded value property - it doesn’t every populate if I use a ValueListProvider.

Are there any special hoops I should be jumping through to get the list populating? I’ve tried setting specific values in the .properties file to see if they were populating as empty strings due to l18n, but that didn’t seem to work either.

We’re running 12.0.2 if that makes a difference. Thanks!

HersheyOvo https://community.bloomreach.com/u/hersheyovo
July 19

I’ve created a ValueListProvider which provides a list to a dropdown in a
component just fine, using the example linked to from this page
https://www.onehippo.org/library/concepts/template-composer/annotate-channel-or-component-configuration-parameters-with-ui-directives.html#DropDownList
.

I’d like to use the same list in the ChannelInfo interface, and have
managed to get a DropDownList displaying in my settings tab. However, the
dropdown is empty unless I use a hardcoded value property - it doesn’t
every populate if I use a ValueListProvider.

The page you link to mentions that the TestSuite has an example of this
dropdown, also for the channel settings. Does it work in the TestSuite? If
not we should fix that.

@bertleunis Thanks for pointing it out - I have been testing with the Test Suite project today and have found that this seems to be bugged in 12.0.1 in the same way as I’m seeing in 12.0.2. I confirmed this using tag 4.0.1, and then found it to be working in 4.3.0.

Unfortunately we cannot upgrade easily right now, so we’ll have to figure a workaround.

Thanks for the investigation. I created an issue so we can look into this.

https://issues.onehippo.com/browse/CMS-11357