基本自訂 > User Interface Customization > Configurable Links > Collecting Configurable Links > Configurable Link Collection Definition Example Files
Configurable Link Collection Definition Example Files
To define and customize the collection of configurable links, the following out-of-the-box example files are provided at {install_home}/codebase/com/ptc/core/collectionsrv/config folder:
SampleConfigurableLinksCollectionDefinitions.xml — contains the collection definitions for the customizable links.
SampleConfigurableLinksCollectionExecutionOrder.xml — contains the execution order of the collection definition.
The SampleConfigurableLinksCollectionDefinitions.xml file includes the definitions to collect the child and parent objects for the following customizable links types:
ConfigurableDescribeLink
ConfigurableReferenceLink
ConfigurableRevisionLink
ConfigurableMasterLink
You can configure the SampleConfigurableLinksCollectionDefinitions.xml file to add more collection definition for the configurable links. For more information, see Customized Configurable Link Collection.
To view the configurable link collection definitions in the Windchill user interface, see Configurable Link Collection Sample UI.
The out-of-the-box example files collect only the following Windchill types and sub-types for collection of configurable links:
Part
Document
Change Request
Problem Report
Change Notice
* 
Iteration Resource is not supported for configurable link collection.
The sample code available in the SampleConfigurableLinksCollectionDefinitions.xml file contains collection definitions enclosed within the CollectionDefinition tag.
Following sub-sections are available within the collection definition section:
description – Contains the description of collection definition.
Declare – Contains the relation definition between the parent and child object and their related links.
Input – Contains definition of seed (source) object.
Retriever – Contains collection definition for the object and links defined in the declare section.
這是否有幫助?