2
Vote

Expose a way to filter Content Picker's list without a field

description

Currently if you want to use Content Picker from code (e.g. have a custom button somewhere to select some content items) what you can achieve is limited due to the fact that the item listing needs a field in the background to apply settings (like filtering on the content type or whether the user is allowed to select multiple items).

Instead the options could be directly exposed as the controller action's parameters and thus through the script too, allowing you to use the full functionality of Content Picker without a content type containing the field and its configuration.

comments

sebastienros wrote Jan 14 at 8:27 PM

Please ensure the new parameters can't be used to surface some content which would not be visible otherwise