Extended Object Templates allow M-Files users to clone all the referenced objects on the creation of any object type that is marked as a template.
- Open M-Files Admin
- In the left-side tree view, expand the desired connection to M-Files Server.
- In the left-side tree view, expand the Document Vaults node.
- Still, in the left-side tree view, expand the vault where you installed the connector and select Configurations.
- Expand Other Applications
- Expand Extension Kit
- Click on Extended object templates
|Enabled||Yes/No||Specifies whether the module is in use.|
|Configuration mode||Simple/Advanced||Display simple or advanced configuration options for module.|
|Rule groups [n] > Group [n]|
|Name||Text||Specifies rule group name.|
|Rule groups [n] > Group [n] > Rules [n] > Rule [n]|
|Name||Text||Specifies unique rule name.|
|Description||Text||Optional rule description.|
|Configuration mode||Simple/Advanced||Display simple or advanced configuration options for rule.|
|Object Type||Object types||Object type that this rule is applied to.|
|Original Template Property||Property definition||Property definition on the selected object type that will hold reference to the original template.|
|Search timeout (seconds)||Integer||Displayed only if [Advanced] is selected as Configuration mode. Search timeout in seconds.|
|Business Critical||Yes/No||If set to true, rule will be logged in SEQ.|
|Rule groups [n] > Group [n] > Rules [n] > Rule [n] > Classes of references to clone|
|Class||Class||Classes of references on original template that will be cloned to the new object.|
|PropertyDefinition||Property Definition||Property to remove from new object and its cloned references.|
Some properties are always removed:
|Rule groups [n] > Group [n] > Rules [n] > Rule [n] > Properties to override|
|Property definition||PropertyDefinition||Properties to override in cloned references with values from new object.|
|Time to wait (milliseconds)||Integer||Number of milliseconds to Wit before completing any rule in background.|
|Numbers of retries||Integer||Maximum number od times COM errors are retried.|
|Retry interval (milliseconds)||Integer||Number of milliseconds to wait between retries.|
Create Projects from Templates
You can create a template project in the M-Files, as well as template phases, milestones, documents, etc. Upon creation of a new project, if you select to create it from the template, every other referenced object will be cloned. That way, you are able to automatically create projects from templates without having to manually “replicate” the structure for your projects.
When a new Project is created from the template, first, second milestone, and initial project documents will automatically add to them.