After upgrading to Lotus Notes 8.5.1 Client and Template, users’ mail files appear as an Archive

  • 26 Oct, 2010

After further investigation, it was determined that the existence of the “ArchiveDatabase” field, stored in the “Archive Database Profile” was the cause of the issue.  By default, the “ArchiveDatabase” field does not exist in a mail file’s “Archive Database Profile”, but it does exist in an Archive database.

Once this field was removed, the mail file no longer appeared as an archive.  The following LotusScript button code can be used to delete this field:

Sub Click(Source As Button)
        Dim s As New NotesSession
        Dim db As Notesdatabase
        Dim doc As NotesDocument
        Set db = s.CurrentDatabase
        Set doc = db.GetProfileDocument("archive database profile")
        If Not Doc.IsNewNote Then
                Print "Found Profile"
                Print "Set field"
                Call doc.RemoveItem("ArchiveDatabase")
                Call doc.Save( False, True )
        End If

The Notes client must be restarted to see the changes.

Related Posts

Migrating messages from Domino to Google using IMAP

  • 20 Feb, 2022

It's only for messages. No calendar migration Imapsync command is a tool allowing incremental and recursive imap transfers from one mailbox to another. If you don't understand the previous sentence,

Migrating messages from Domino to Google using IMAPRead More

Domino V12 and Verse 2.1 How to add a Photo URL

  • 08 Jun, 2021

Today i setup a Domino V12 server just for test some new features. A customer ask to use photos on Verse hosting photos on Domino. Domino V12 comes with Verse 2.0. I just download the version 2.1 of

Domino V12 and Verse 2.1 How to add a Photo URLRead More

Notes / Domino is forever

  • 04 Feb, 2021

Yesterday it seemed like it would be an ordinary working day but a client called me informing about the expiration of a certifier. It would be normal to resolve the problem with the re-certification p

Notes / Domino is foreverRead More