06-06-2021 06:26 PM
Hello,
given any document/folder in a repository, is it possible to know if there are links pointing to it?
I see that, if linked, a document acquires the aspect "app:linked", but I cannot see any additional information.
I guess that Alfresco keeps track of a reverse link info, in order to drop all links when the document is deleted.
thanks.
06-09-2021 05:14 AM
No - that is precisely the difference between a real, proper peer-association and a simple link. Associations are navigateable in both directions and maintain referential integrity. Links are nothing more than simple d:noderef properties without a "reverse link". The only way you'd be able to find links to a particular node would be to perform FTS / CMIS QL queries against the link property which holds the reference value, e.g.
=cm:destination:"workspace://SpacesStore/uuidOfTargetNodeHere"
Explore our Alfresco products with the links below. Use labels to filter content by product module.