I'm building a custom Metadata Schema form to include links to related assets (Metadata Schemas ). However, when an asset is related to another (i.e. source, derived, others), the related asset does not appear as a link in the asset properties. When I try to unrelate the asset, I receive a prompt of removing the related asset - proof that the relation is indeed established.
I've tried building the form using the following components:
- Asset Referenced By
- Asset Referencing
- Read-Only link
None of the above components in the metadata schema form seem to show the related asset in the properties.
I appreciate the help!
Did you get a chance to test this out in default metadata schema ? is that also having the same issue ?
Just to make sure your instance doesn't have any issues , can you try this out parallel in a new 6.3 instance ? We can filter out the possibilities.
Seems like this could be an issue on one such instance. I tried and its working for me too..
geoffg59889438 - Can you try on any other AEM instance or a new AEM instance and see if you are seeing the same issue.
Meanwhile, are you seeing any errors in the log when you load the metadata page.
Can you please let me know on how can we relate assets programatically(Via API).
I want to write a custom workflow to add relation between assets.
Which API needs to be used ? If possible can I get a sample code?