IBM Support

Rules tab does not display on Server Configuration document when viewed using the Admin client and in some cases the Notes client

Technote (FAQ)


Question

When using the Domino Administrator client, the Rules tab does not display when you select Messaging Settings on the Configuration tab. This issue occurs after you upgrade the design of the Domino Directory to the 6.5.4 or 7.0 pubnames.ntf. 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.

Steps to reproduce
1. Open the Domino Administrator client.
2. Select the Configuration tab.
3. In the left pane, select the Messaging -> Messaging Settings tab.
4. In the main pane, select the Restrictions and Controls tab. The Rules tab should appear at this point.

Answer

The change in behavior where the Rules tab does not display when the configuration information is viewed from the Domino Administrator client, is the direct result of the fix introduced in Notes/Domino 6.5.4 and 7.0 for SPR# TSNG5W2AJC. To create and/or modify rules, you should use the Notes client.
Note: The SPR TSNG5W2AJC is relative to undesired behavior when using the Domino Administrator client to work with rules.

The change in behavior where the Rules tab may not display when the Configuration document is viewed from the Notes client, is an unexpected regression issue caused by the fix for SPR# TSNG5W2AJC. This regression has been reported to Quality Engineering as SPR# STAA6HJ846, and has been fixed in Lotus Notes 6.5.6, 7.0.2 and 7.0.3. The issue occurs only in cases where the Configuration document was previously edited and saved from the Domino Administrator client.

Excerpt from the Lotus Notes and Domino Release 7.0.2 MR fix list (available at http://www.ibm.com/developerworks/lotus):


    Templates
    SPR# STAA6HJ846 - On the $PersonInheritableSchema subform, changed ClntDate field to Date/Time type. On the $RouterSMTPSettings subform, removed hide\when formula for ActForm and added Override Session Authentication as keyword to (Web Site) and (Web Rule) forms & update Internet Sites view.
Refer to the Upgrade Central site for details on upgrading Notes/Domino.


To avoid the regression issue in the future:
Edit the ($MessageSettings) form and change the ActForm field from type "Editable" to "Computed For Display".


To fix Configuration documents already in this state:
The issue occurs because the ActForm field is present. 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 -> <agent name>.

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.


Document information

More support for: IBM Domino
Deployment

Software version: 7.0, 7.0.1, 8.0, 8.5

Operating system(s): Windows

Reference #: 1214711

Modified date: 22 April 2009


Translate this page: