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
SearchDomino.com's expert Brian Mahoney explains how to work around the default replication and form parameters of profile documents, so that the ... Continue Reading