Welcome to the IBM Collaboration Solutions Community IQJam
UsernamePassword
Reset Password | Register
   
Home | Tags | Help
DocLinks in Archive DB has to work 
I have a Rich text field in Doc A to hold the doclink of Doc B of the same database. When I archive Doc A, the doclink for Doc B is not working in the Archive Database, as Doc B was not Archived.

Can I make doclink to look for Doc B in Archive Database, if not found then look for Doc B in main database? Is this possible? or Is there any other option available for the doclink to work in Archive Database.

Any thoughts in this regard is highly appeciated.
Domino Development / Client Development
Tagged
Shanmuga Priya Srinivasan - over 3 years ago |  |  | Viewed 60 times

There is 1 answer

0votes
A doclink comprises two key components, the replicaid of the database holding the document and the DocumentUNID of the document itself.  When a document is moved from one database to another (such as the case with archiving) both the replicaid and the DocumentUNID will change.  As a result, the doclink is never going to be able to work.
 
Based upon the description you have given I would suggest you may need to build some additional logic into the archive process to modify the doclinks at that time (and/or save the original DocumentUNID as part of the archive so an agent could rematch the documents).
Peter Presnell - over 3 years ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community

Latest Answers for Domino Development / Client Development 

Experts for Domino Development / Client Development