MAIL


Customizing the look of Lotus iNotes
You can customize the look of IBM® Lotus® iNotes™. Using IBM® Lotus® Domino® Designer, you can add action buttons to views or dialog boxes, provide additional choices for the Home Page, and replace the Lotus iNotes logo with a corporate logo. Customization is supported in both full and lite mode.

You can modify the following forms and sub forms in the Lotus iNotes FORMS85.NSF file:


For example, you may want to add choices to the list of Web sites that can be displayed in the Welcome Page. To do this, you modify the Custom_WelcomePage form. There are two arrays that can be modified. One array is for the title of the web site, the other array is for the URL of the web site. The template uses JavaScript™, so it is possible to "calculate" a web site, for example, one based on the user's name or current mail file. You can write code in the Scene_PreSubmit function (inside the Custom_JS form) to validate the new field. Note that the Welcome Page in this example uses the monthly calendar view.

var gWelcomePageChoices = {

    titles:[

         "Yellow Pages"

        ,"CNN"

        ,"IBM"

        ,"My monthly calendar"

    ],

    urls:[

         "http://www.superpages.com/"

        ,"http://www.cnn.com/"

        ,"http://www.ibm.com/"

        , "../../inotes/calendar/?opendocument&ui=portal&presetfields=s_CalView;M"

    ]

};

Example of modifying Lotus iNotes common forms file

You can use this process to modify the FORMS85.NSF file.

1. Copy FORMS85.NSF to a temporary directory.

2. Make changes to the forms as desired.

3. Test the changes to the forms.

4. Stop the HTTP process on the Domino server using the tell http quit server command.

5. Flush the database cache using the dbc f server command.

6. Copy the new Forms file to the Lotus iNotes directory under the Domino Data directory.

7. Start the HTTP process using the load http server command.

Note If you modify the default CalendarProfile values, the new values affect only new user registrations. Default values for existing users are not changed.

Related topics