Customizing system templates
Everything in Notes can be customized by tweaking with the design. I highly recommend never to tweak design in a database itself, but use Domino's template capability. You can have multiple databases using the same layout. Even if you build a specialized custom application you will have at least 3 databases sharing the same design: development sample data, UAT sample data and production data. So use template, and NO hiding the design is not a nice thing to do and actually not a security feature (it's rather an obscurity feature).
In a lot of installations I came across system databases have been altered: the Domino directory, the log, the mail template etc. IBM's support always has a hard time helping in this environments. There is a rather strict policy to insist on original IBM templates. Following a few easy steps however you can eat your cake and have it too. The secret is to use the template system wisely. Following the steps has quite some advantages:
These are the steps:
Happy customize!
In a lot of installations I came across system databases have been altered: the Domino directory, the log, the mail template etc. IBM's support always has a hard time helping in this environments. There is a rather strict policy to insist on original IBM templates. Following a few easy steps however you can eat your cake and have it too. The secret is to use the template system wisely. Following the steps has quite some advantages:
- Your customizations are protected from being overwritten since they are sitting in their own database
- Your customizations are visible since they are sitting in their own database
- Since the original templates are untouched future fixes are easily included in your actual database
- You can switch back and forth between the IBM template and your customized template using "replace design". This is extremely useful when troubleshooting issues: switch to the original IBM template, if the problem is gone you know where to look. If the problem persists you don't need to argue with support about customization having an impact
These are the steps:
- Create a new database based on the original IBM template with inheritance active. In the database properties give that database a template name (be sure to keep the master template name intact)
- Delete all design elements you want to customize from the database created in step 1
- Create a new empty database, give it a template name and copy all design elements you want to customize into this database. Say NO to the question of "inherit changes"
- Customize your design elements. Rule of thumb: try to be minimal invasive.
- Copy the altered (or additional) design elements to the database you created in step 1. Say YES to the question "inherit changes"
- Replace the design of the system database with your new template
Happy customize!
Posted by Stephan H Wissel on 26 September 2007 | Comments (4) | categories: Show-N-Tell Thursday