repository "reverse link" information

cancel
Showing results for 
Search instead for 
Did you mean: 
pluttero
Member II

repository "reverse link" information

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.

1 Reply
afaust
Master

Re: repository "reverse link" information

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"