Composition in Multinode treepicker #12269
SandraGeisha
started this conversation in
Features and ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The multinode treepicker allows you to pick document types that are used for compositions. For example we have a search composition that we include on a content page doctype. However when actually picking content it's not able to actually find content using this composition. It's quite counter intuitive. I suppose this is intended behaviour but in that case you shouldn't be able to pick the composition at all. The way we worked around it is by making a custom property editor and copying over the contentPickerController and view adding the following code to the init function:
This enables us to find the doctypes that inherit from the composition and then in the scope.currentPicker function add the following to override the default filtering:
Beta Was this translation helpful? Give feedback.
All reactions