I would like to be able to populate selection-options/checkboxes/radio-buttons etc. with data depending on existing content.
Example:
Content-type article has a field color. I would like to create a part where it’s possible to select one or many colors depending on which colors have been added to articles.
As of now the only way to do this is with the ContentSelector. But that demands that you create a separate contenttype for just this data and store it somewhere, to use as reference in your contenttypes, then fetch that in your part.
We can’t pass logic like you explain into a parts contentselector (“show me only content that has been used in articles”). It will get everything of one type.
Does that clear things up? We’re ofc happy to receive feature requests on improvements.
Just one more comment about ContentSelector, you can filter on a path and type.
So you can for example have a folder with colors, and make the ContentSelector point to them.