Rules tab does not display on Server Configuration document

  • 17 Dec, 2020

When using the Domino Administrator client, the Rules tab does not display when you select Messaging Settings on the Configuration tab.  You may also notice that after a Configuration document is edited from the Domino Administrator client, the Rules tab no longer appears when the document is viewed from the Notes client.

Cause

The issue occurs because the “ ActForm“ field is present in the configuration document.

Resolution

To resolve the issue, delete the ActForm field from the Configuration document. There are two approaches to accomplish this:

Approach 1: Create a Formula agent, designed to act on selected documents, to delete the field ActForm:

Steps to create the agent: 1. Start the Domino Designer client and open the Domino Directory database. 2. From the menu, select Create -> Agent. 3. The Agent Properties dialog will appear.  Give the agent a name.  The Runtime settings can be left at the defaults of “Action Menu Selection” and “All Selected Documents”. 4.  Click on the X mark in the upper righthand corner to close and save the Agent Properties settings.  5.  In the main pane, change the “Run” keyword selection from “Simple Action(s)” to “Formula”. 6.  Enter the following code into the main window: FIELD ActForm :=@Deletefield 7.  From the menu select File -> Save. 8.  Exit from the Domino Designer client.

Steps to run the agent: 1. Open the Domino Directory from the Notes client. 2. Open the view Configuration -> Servers -> Configurations. 3. Select the affected configuration documents. 4. From the menu select Actions -> .

Now when the Configuration document is opened from the Notes client, the Rules tab will display as expected.

OR

Approach 2: Code can be added to the ServerConfig form so that it deletes the field when the Configuration document is opened.

1. Start the Domino Designer client and open the Domino Directory database. 2. In the left pane, select Forms. 3. In the right pane find and open the Form “Server\Configuration Settings”.  Note: The form’s Alias is “ServerConfig”. 4. In the lower left pane the Objects tab will be selected by default, locate and select the Queryopen event listed. 5. Paste the following code into the Programmer’s Pane:

Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant) Dim doc As NotesDocument Set doc = Source.Document If Not doc.Isnewnote Then If doc.HasItem(“ActForm”) Then Call doc.RemoveItem(“ActForm”) Call doc.save(True, True) End If End If End Sub

6. From the menu select File->Save. 7. Exit from Domino Designer client.

Now when the Configuration document is opened from the Notes client, the Rules tab will display as expected.

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