Following are the useful $$ViewTemplates for web applications.
The $$ViewTemplate is a reserved functional Design Element used to display View Design Element contents when rendered to a Web or Mobile Browser Client. The $$ViewTemplateDefault is acts as the default render template for View Design Elements that do not have an explicit $$ViewTemplate defined (see $$ViewTemplate for below for more information on specific render templates.
The $$ViewTemplate - most commonly a Form Design Element - can be used to wrap UI design and functional markup before and after the given View contents. By controlling the surrounding markup for the View Design Element, you can completely customize the rendered View contents and provide a more rich application experience.
The following video tutorial will showcase the creation of a $$ViewTemplate in a Lotus Notes application.
The $$ViewTemplate relies on at least one of two methods for displaying View contents: an Embedded View or a Editable Text Field named $$ViewBody.
While each method has it's benefits, the Embedded View method will allow you to override the View Design Element's Content Type while also allowing you to override the View's default NotesDocument render count.
When using a $$ViewTemplate, all Domino URL Commands for controlling the returned NotesDocument render collection are available, including (but not limited to):
You can control the Content Type
of the $$ViewTemplate
, either specifying Notes, HTML, or Other.
The $$ViewTemplate is not used when rendering Domino URL Command-based searches against a View Design Element. When the ?SearchView Domino URL Command is issued, the results are rendered via a $$SearchTemplate.
8. $$ViewTemplate for :
(Will be updating the details soon..)