APPLICATION MANAGEMENT


Creating templates
Example

Using a template, you can establish design standards for use throughout your company. In large companies, a central development group usually designs and manages templates to provide consistent designs and speed up distribution of new databases. Use a template to standardize similar types of applications -- for example, all discussion databases -- or to store individual design elements, such as fields, forms, views, folders, navigators, and agents that you can use in a variety of applications.

To customize an IBM® Lotus® Domino(TM) Designer template, choose File - Application - New Copy to copy the original template and inherit the original design. Give it a different file name in the Copy Database dialog box to prevent future releases from writing over your customized template.

Here's a list of changes you might make when you customize a Designer template:


Advantages of standardizing with templates
Design considerations
Creating a Single Copy Template

When a database is created from a template, all of the design elements are copied to and reside in this new database. In an environment where many databases inherit from a single template, such as a mail template, the redundancy of data is apparent. The Single Copy Template (SCT) feature in IBM® Lotus® Domino(TM) Release 6 and later, when enabled in a template, results in the replacement of design elements in the inheriting databases on the same server with pointers or reference notes. These reference notes point to the associated design element in the template in a fashion that is transparent to the end user. In this way, design notes are stored only once on the server. Any modifications of design elements in a database inheriting from a single copy template will result in a full copy of that design note in the database.

When databases and/or replicas are created from a single copy template they will initially contain full design notes. It is the Design task which performs the work of creating and removing reference notes from a database. Reduction of database size (disk space) is a major advantage of using single copy templates and will be realized upon compaction of the databases.

To create/enable a single copy template

The following is the recommended way of creating a single copy template:

1. (Recommended) - Identify a template on a server to be designated as a SCT (mail6.ntf for example). Create a copy of this template (named mail6sct.ntf) to a local area.

2. Open the Database Properties box (File->Database->Properties) of this new copy (mail6sct.ntf) and in the Design tab, change the template name from StdR6Mail to StdR6MailSCT. You may opt to have this new template inherit design changes from the original, StdR6Mail. Also, click the checkbox labeled "Single Copy Template".

3. Copy this template back to the server.

4. Change the inheritance of any/all databases which inherit from mail6.ntf (StdR6Mail) to mail6sct.ntf (StdR6MailSCT). This can be done most easily through use of the convert utility as follows (recommended with the server down):


You can also do the following to create a single copy template:
> load design

Disabling Single Copy Template

Should a template designated as a single copy template become corrupt, it is simply a matter of converting the user files back to use the original template. To disconnect a database from a single copy template so that the database contains full design notes rather than reference notes, perform the following depending on the deployment method used:

1. If method 1 above was used, then the original template (mail6.ntf) is still intact and unmodified. Any/all users can be converted back to use this template as follows:

2. If method 2 above was used, open the Database Properties box of the template (mail6.ntf) and uncheck the "Single Copy Template" checkbox. Run the design task to place full design notes back into the database. Note In addition to these methods, administrators may want to make an OS-level copy of a template, and store it in a "safe" place. It is small, and is easily restored.

Notes/Restrictions


Example
See Also