Designing a form as a view or navigator template
In Web applications, to create an association between a form and a view or navigator, you can assign a reserved name to the form. Domino® uses the form as a template when users open the view or navigator. This can be a good way to create a standard display for views and navigators in your site.
Use the following reserved form names to create an association between a form and a view or navigator.
Note that Domino® requires an embedded view or the $$ViewBody field on the form, but ignores the value.
Form name |
Design element required and description |
---|---|
$$ViewTemplate for viewname |
Embedded view or $$ViewBody field. Associates the form with a specific view. The form name includes viewname, which is the alias for the view or when no alias exists, the name of the view. |
$$NavigatorTemplate for navigatorname |
Embedded navigator or $$NavigatorBody field. Associates the form with a specific navigator. The form name includes navigatorname, which is the navigator name. For example, the form named "$$NavigatorTemplate for World Map" associates the form with the World Map navigator. Domino® ignores create and read access lists on the form. |
$$ViewTemplateDefault |
Embedded view or $$ViewBody field. Makes this form the template for all Web views that aren't associated with another form. |
$$NavigatorTemplateDefault |
Embedded navigator or $$NavigatorBody field. Makes this form the template for all Web navigators that aren't associated with another form. |