If links are stored in the document you are linking to (not the document you
are linking from)then this resolves the broken links problem.
For example, if this document is linked to three others then the NoteID of this
document would be stored in the links field of those three related documents
and not in this document.
You can then easily do a lookup of all documents that related by using the
NoteID of the current document. When they are deleted they won't appear in the
lookup.
Hope that makes sense! Obviously you need author access to the documents you
are linking to. Alternatively, store links in seperate Link Documents
specifically for the job. When documents are deleted an agent runs that deletes
all Link Documents that contain it's NoteID.
If links are stored in the document you are linking to (not the document you are linking from)then this resolves the broken links problem.
For example, if this document is linked to three others then the NoteID of this document would be stored in the links field of those three related documents and not in this document.
You can then easily do a lookup of all documents that related by using the NoteID of the current document. When they are deleted they won't appear in the lookup.
Hope that makes sense! Obviously you need author access to the documents you are linking to. Alternatively, store links in seperate Link Documents specifically for the job. When documents are deleted an agent runs that deletes all Link Documents that contain it's NoteID.