You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
Creating and Using Templates
Servoy allows the creation of three different types of templates:
- Element template – an element or group of elements can be selected and made into a template.
- Complete Form template – the entire form can be saved as a template.
- Form template – A basic "empty" form can be set up with parts and other meta properties, which can then be saved as a template.
Regardless of the type of template, selected elements or the currently active form can be saved as a template by clicking on the "Save as Template" button on the Actions toolbar:
The saved templates then appear in the Templates drawer of the palette. This list is shared by forms of the same solution. There are two ways to use saved templates:
- By selecting a template from the palette and placing it into an active form.
- By specifying a template via the New Form wizard in the process of creating a new form.
Templates are stored in the Resource project assigned to a solution. Whenever a new template is created, it appears in the contextual list when the Templates node is selected in Solution Explorer .