Templates and Text Modules
In the “Templates and Presettings” area you can create template and text module collections, manage templates and text modules therein and make them available to users.
Useful for Following Tasks
- Provide templates for individual departments
- Use metadata as fields in Microsoft Word documents
- Define personal templates
- Use text module placeholders in Microsoft Word templates (will be replaced when an instance is created)
- Use text modules (predefined text) in Microsoft Word documents
Essential information about templates and text modules can be found in the user help:
For each contract type a Word template must exist. The current version of standard contract text blocks must be inserted when a contract is created based on the template.
To achieve the objective, proceed as follows:
- Navigate to “Templates and Presettings”.
- In a template collection create a Microsoft Word template for each contract type.
- In a text module collection create a text module for each standard text block.
- Edit the Word document, insert the contract text and insert text module placeholders for standard text blocks (“Fabasoft Cloud” tab > “Insert Text” > “Text Module Placeholder”).
- When a contract based on the template is created, the text module placeholders are replaced.
The usage of the template can be restricted to improve usability and to define available Word fields (“Template” tab).
The category is copied to the object created from the template.
Note: If applicable, lists can programmatically allow objects only with certain categories. In this way, the category can also restrict where the template can be used.
- Contained in
Defines the folder types in which the template can be used. This can either be done using the object class or the category of the folder. If object classes and categories are specified together, the folder must have a defined object class and a defined category.
Defines the type of files in which the template can be used. You can do this using either the object class or the category of the file. If object classes and categories are specified together, the file must have a defined object class and a defined category.
Using Fabasoft app.ducx Expressions
Following expressions can be defined in the context of text modules.
Expression for Further Restrictions of Usability
Defines a Fabasoft app.ducx expression that may further restrict the use of the text module (see also COOAR@1.1:modulevisibleexpr).
The expression can be found on the “Usage” tab of the text module.
// can only be used in objects that contain the string "(draft)"
// in the name
lower(objname) contains "(draft)"