Restricting component types within a (non template) container in Touch UI
Hello!
I’ve hit a brick wall with something and hoping someone can help.
I have a component that has a drag and drop container. The container’s resource super type is core/wcm/components/container/v1/container
I want to restrict the components that can be dragged onto this container to a sub set of those allowed on the page, but can’t find a way to do that. Note: This component is not fixed to a template. It is optional on the page and is itself dragged onto a page container at author time.
Given it is not part of the template, I can’t use the template editor to set a policy to restrict components (that I can see). Essentially I’m stuck will allowing the set of components defined at page template level.
Is there a way to achieve this in Touch UI projects?
I recall this was easy in Classic UI projects, but not so much with Touch UI and editable templates.
Any help would be appreciated (Generative AI is no help - constantly hallucinating)