How do you link to a Dexterity page from an ATContent page using “Related Items”?
-
05-03-2021 - |
Question
Tying to add a related item to an ATContent Page which links to a Dexterity page. However, in the popup-overlay (when selecting "Add..." from the "Categorization" tab) there is no checkbox option to add myDexterity type of content.
Am I missing something? is this supported? has anyone got a workaround?
Plone 4.1.2 (4111) CMF 2.2.4 Zope 2.13.10 plone.app.dexterity 1.0.3
Solution
There's a separate package for this behaviour:
plone.app.referenceablebehavior
Just add it to your buildout (eggs
and zcml
variables, no need to install it via control panel). Then go to your dexterity control panel, in the Behaviours tab, and add the "Referenceable" behaviour. Note that only new contents will honor that behaviour, those that have been already created won't be refereceable.