Type: Feature Request
Status: Gathering Interest
Affects Version/s: None
Fix Version/s: None
Component/s: Asset Framework
We would like to propose the idea of linking related assets to web contents in a unidirectional way.
The feature would give more flexibility and power to content editors using the Asset Framework's related content possibilities to provide a better content management experience.
In our initial investigation, we found that the Liferay API could support the uni-directional type for AssetLinks where the AssetLinkLocalService uses the type parameter to achieve this behavior.
type - the link type. Acceptable values include AssetLinkConstants#TYPE_RELATED which is a bidirectional relationship and AssetLinkConstants#TYPE_CHILD which is a unidirectional relationship. For more information see AssetLinkConstants.:
In addition to the API, which already makes it possible to create AssetLinkConstants#TYPE_RELATED and AssetLinkConstants#TYPE_CHILD relations between assets, we think the best place to add this feature is the edit interface. Please see the attachment for a preview.
This would be somewhere between the – Begin and End – of the fragment_com_liferay_journal_web_portlet_JournalPortlet_relatedAssets.