How To Copy A Domino Database Template
Basing the blueprint of a database on a template is generally washed when the database is created and a blueprint template is used to create the database.
CAUTION
When creating a database from a template, you tin choose any of the check boxes in the Advanced tab to set up whatsoever properties y'all want. The new database will not inherit the selections from the template, regardless of the selections you take made there. These settings must be made after the database is created.
Breaking Design Inheritance
You can go on to inherit the blueprint elements from the template or intermission the relationship. You might find a database template that is very close to what you demand, but y'all might want to change sure design elements. Past breaking the relationship between the template and the new database, you can change the blueprint of the database safely. The design process on the server volition not overwrite the new design if you have broken the relationship. To break the human relationship between the template and the new database, deselect the Inherit Future Blueprint Changes cheque box in the New Database dialog box, as shown in Effigy ii.27.
Figure 2.27. Deselecting Inherit Futurity Blueprint Changes breaks the relationship betwixt a template and the new database.
Another manner to interruption this human relationship is from the Database properties box. Select the Design tab and deselect Inherit Design from Template. The contents of the Template Name field will disappear.
Replacing the Database Design
A database can base of operations its design on a template in nonetheless another manner: by replacing the database's blueprint. To supplant a database design, right-click the database on the Bookmark tab and choose Database, Replace Pattern. Choose the desired template, as shown in Figure 2.28, and click Inherit Time to come Blueprint Changes.
Effigy 2.28. The Supervene upon Database Pattern window also lets you lot hide the blueprint of a database.
If you want to inherit future designs, make sure that Inherit Futurity Design Changes remains checked (the default).
Caution
The Hibernate Formulas and LotusScript check box is intended for final release of a database. When y'all select this choice, you will no longer be able to edit the pattern of the database that you are creating. Hiding the design of a database removes all design access to the database formulas and LotusScript, fifty-fifty if you have Designer or Manager admission to the database. Before choosing this option, be sure that you lot have a chief blueprint copy somewhere that does not take the design hidden. Besides brand sure that the template you are using does non have the design hidden.
Inheriting Private Blueprint Elements
As indicated earlier, individual design elements can inherit designs from templates. A single database can accept elements from unlike templates; the design procedure keeps track of them all.
To copy individual design elements, follow these steps:
- Open up the database template in the designer, and switch to the pattern folder for the pattern elements that you desire to copy.
- Highlight the pattern element. Yous can select multiple elements by holding down the Control key and clicking once on each element.
- Copy the design elements to the Clipboard by pressing Ctrl+C or choosing Edit, Re-create from the menu.
- Open the database into which you want to copy the design elements in the Designer.
- Open the advisable design binder and press Ctrl+V, or cull Edit, Paste from the menu. Domino asks whether you desire to take the forms automatically updated when the design of the template changes. To preserve the inheritance, choose Yes. Meet Figure ii.29.
Effigy ii.29. Domino asks whether you want to maintain the link to the template when you re-create design elements into a database.
NOTE
When Domino copies pattern elements to the Clipboard, they are non copied to the Windows Clipboard. Instead, they are copied to a special file named ~clipbrd.ncf. These can then be pasted into other Domino databases or templates.
Circumspection
When a form contains a subform, a shared field, a shared action, or any other shared chemical element, the subform or shared element must exist copied and pasted independently. If you fail to do and so, the grade will non exist able to find the subform or shared element and will non function properly.
If you attempt to change a design element that inherits its pattern from a template, you get a warning message indicating that any changes y'all make to the pattern chemical element will exist lost when the Pattern task runs on the server and updates the design of your database.
But as you can break the association betwixt a database and a template, yous can break the association between an individual blueprint element and the template. This can be done without breaking the clan for all other design elements in the database.
To break the association between a blueprint element and the template that replaces the database design, you lot must do the following:
- Highlight the pattern element in the blueprint binder.
- Choose Design, Blueprint Properties from the carte du jour, or right-click and cull Design Properties from the context carte du jour.
- Choose the Blueprint tab from the backdrop box.
- Click the bank check box for Prohibit Design Refresh or Replace to Modify.
These options are displayed in Figure 2.30. Find that the field Inherit from the Pattern Template is populated with the template name.
Effigy 2.thirty. The design template settings are specified in the Design Document properties box. Note that the design documents that inherit designs have a special symbol in the left margin.
Some elements are not refreshed, however. They are as follows :
- The database ACL
- The database championship and category
- Any pattern elements that you have set up with the blueprint property of Prohibit Design Refresh or Supercede to Modify
- All of the properties in the Advanced tab of the Database properties box
These examples have shown you how easily design elements tin be copied from a template into your own database. Design changes to the template can be inherited or non, depending on your needs. Agents can be copied in the same style. This technique also works from database to database; in other words, copying design elements tin take place from both Domino templates and Domino databases. This is a fast and piece of cake way to avoid reinventing the wheel.
How To Copy A Domino Database Template,
Source: https://flylib.com/books/en/1.480.1/inheriting_designs_from_templates.html
Posted by: thrushhaid1988.blogspot.com

0 Response to "How To Copy A Domino Database Template"
Post a Comment