This guide explains how to configure a template catalogue which is used when creating new catalogues and when using the Action on selected items - Add presentations function.
Version 4.5
This function is available in version 4.5 and later.
Overview
It is possible to configure a default node structure on catalogues. This default structure will be used when a new catalogue is created. This configuration will also be used to define where presentations are added when presentations are added to several catalogues using the Action on selected items - Add presentations function.
Configuration
The configuration is located in Catalogues.config in C:\ProgramData\Signifikant\Assert folder. A default configuration is generated automatically.
Tag | Usage |
---|---|
PresentationDescriptor | Defines a menu option in Add Presentation |
PresentationBaseTypeCode | The menu option may be valid for a presentation base type or a presentation code. If it is valid for a presentation base type use this tag. |
PresentationTypeCode | The menu option may be valid for a presentation base type or a presentation code. If it is valid for a presentation which is not a base type, refer to the code of the presentation type using this tag. |
TargetNode | The presentation will be added to or under the node which has a persistent id matching regex in this tag. |
CreateNewNodeOnEmptyTargetNode | If node does not exist, a new node will be created. node-image-file-name will point to an image in image storage, it will be added to the created node node-persistent-id-format is regex defining the persistent id to be added to the node. Need to match TargetNode regex as in example below. text-persistent-id-for-node-name will point to persistent id for the text which will be used for the added node |
Sample congig
<?xml version="1.0" encoding="utf-8"?> <MultiplePresentationList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Items> <PresentationDescriptor> <PresentationBaseTypeCode /> <PresentationTypeCode>Product</PresentationTypeCode> <TargetNode>_Accesories</TargetNode> <CreateNewNodeOnEmptyTargetNode node-image-file-name="" node-persistent-id-format="{0}_Accesories" text-persistent-id-for-node-name="Accesories" /> </PresentationDescriptor> <PresentationDescriptor> <PresentationBaseTypeCode /> <PresentationTypeCode>Part</PresentationTypeCode> <TargetNode>_Accesories</TargetNode> <CreateNewNodeOnEmptyTargetNode node-image-file-name="Accessories.png" node-persistent-id-format="{0}_Accesories" text-persistent-id-for-node-name="Accesories" /> </PresentationDescriptor> <PresentationDescriptor> <PresentationBaseTypeCode>Part assembly</PresentationBaseTypeCode> <PresentationTypeCode /> <TargetNode>_SpareParts</TargetNode> <CreateNewNodeOnEmptyTargetNode node-image-file-name="SpareParts.png" node-persistent-id-format="{0}_SpareParts" text-persistent-id-for-node-name="Spare parts" /> </PresentationDescriptor> <PresentationDescriptor> <PresentationBaseTypeCode /> <PresentationTypeCode>Kit</PresentationTypeCode> <TargetNode>_Kit</TargetNode> <CreateNewNodeOnEmptyTargetNode node-image-file-name="Kits.png" node-persistent-id-format="{0}_Kit" text-persistent-id-for-node-name="Kits" /> </PresentationDescriptor> <PresentationDescriptor> <PresentationBaseTypeCode /> <PresentationTypeCode>Document</PresentationTypeCode> <TargetNode>_Documents</TargetNode> <CreateNewNodeOnEmptyTargetNode node-image-file-name="Documents.png" node-persistent-id-format="{0}_Documents" text-persistent-id-for-node-name="Documents" /> </PresentationDescriptor> </Items> </MultiplePresentationList>
Instructions
Related articles