cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Trying to use CollectionComponentConfig.xml to create a configuration

hdamle
1-Newbie

Trying to use CollectionComponentConfig.xml to create a configuration

Trying to tweak existing and create a new configuration in <WT_HOME>/codebase/com/ptc/core/htmlcomp/collection/CollectionComponentConfig.xml

So that JSTable can specify what config to load to display dependency or not.

However, unable to make changes in this file effective. Is there loader that needs to load these preferences in DB? I did find a loader file but it didn't do anything

1 REPLY 1

If you ad your own entry to that file you must tag your entry (in CollectionComponentConfig.xml):

<?xml version="1.0" encoding="UTF-8"?>

<CollectionComponentConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=".\CollectionComp.xsd">

    <CollectionToolsDefinition>

 

  <!-- RTN_STAMP_CAD Doc Dependents tool -->

        <CollectionTool id="YOUR_INTERNAL_NAME_HERE" alwaysCollectOnIncrementalUpdate="true">

Then in your preference loadfile that YOUR_INTERNAL_NAME_HERE must match the csvname of one of your collection category and you must either load:

E:\PTC\Windchill_10.2\Windchill\loadFiles\preference.collector.xml

or add the following line to the bottom of your preference file:

<csvCollectorPreferenceDefinition  handler="com.ptc.core.htmlcomp.collection.engine.LoadCollectorPreferences.createCollectorPreferenceDefinitions" />

The CollectionComponentConfig.xml itself does not get loaded by a loader.

Top Tags