In the standard mail template "mail50.ntf" an archiving tool is integrated. You can change the settings of it by clicking Actions->Archive->Settings which shows you a dialog box. The Agent that is responsible for this is Archive Settings. In that agent, they simply call a method:
This is not a standard method of the NotesUIDatabase Class. However, it is not defined anywhere else too. It opens the dialog box, which I cannot find either. Do you know where I can find more info?
This is a currently undocumented method. It accesses a hidden profile document called "Archive Profile." If you want to get to the document in LotusScript, you can use the GetProfileDocument of the NotesDatabaseClass. The path of the archive database is stored in the field ArchivePath. You could use a LotusScript agent in the debugger to see the other fields.
Lotus says the Archive Profile must be saved once in the UI before accessing the profile in LS. See TechNote #174420 (06/06/2001) for additional information.
Dig Deeper on Domino Resources - Part 3
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