I have to delete the duplicate documents in a database. I saw the default agent that comes in the catalog(R5.0)(template or database). I don't know where to change in order to run it for my view. Please help me on this asap(as soon as possible). I need it early because the task is already beyond schedule (the task given to me to write the script to delete the duplicate documents).
You need to copy the agent to the file you want to use it in. You need to create a view where the first column is a key value that determines that the documents are duplicates ( i.e. an account number, transaction identifier, a concatenation of Last and First Names, etc). In the agents code, you will find the following line:
Set view = db.getView( "($ReplicaID)")
This agent uses the Replica ID field in the documents to determine duplicates. Change the name in quotation marks to the name of your view. The rest should then function to delete duplicate documents.
Dig Deeper on Lotus Notes Domino Administration Tools
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response. Continue Reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead. Continue Reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.