Once you've configured the data source you can define folder entity data models.
-
Select the SkyVault
Data Model type.
This loads the Repository source menu.
- Select Repository source then click Add entity to add an entity that maps to custom folder node in the repository.
- Give the entity a name, such as Custom Folder.
-
Specify the node type, including any aspects that should be applied. In this example select
TODO. This is an instruction to create the folder with a custom
type.
Tip: Use commas to separate type and aspects.Note: Use the F: prefix for the type as it's a custom type.
-
Specify any custom aspects to apply and any out-of-the-box aspects if needed, for example
cm:titled).
Note: These are also referred to as secondary types in the CMIS standard.
-
After you've entered the type and aspects definitions, specify all other relevant
properties. There following properties are mandatory:
- cmis:name (or cm:name) - used to specify the name of the new node
- cmis:parentId - used to specify what parent node the new node should be created under
When creating a new entity the Data Model designer automatically creates the required fields as well as the most commonly used attributes:All folder entities require at least one attribute that maps to the cm:name property. It can also map to the cmis:name property, if you prefer to use CMIS property names.Attribute Name SkyVault Content Services Property Entity Time ID sys:node-uuid string Name cm:name datasource.driverstring Title cm:title datasource.urlstring Created cm:created date Creator cm:creator string Modified cm:modified date Modifier cm:modifier string Parent cm:parentId string - After the entity and the default attributes are generated, click Add Attribute to add entities to map the remaining folder properties.
- When you're done, click Save.