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

Trying to use CollectionComponentConfig.xml to create a configuration

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

Re: Trying to use CollectionComponentConfig.xml to create a configuration

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.

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________ Check out the Windchill Tips Board! We're talking about Whirlpool's use of digital twin, augmented reality, and data-driven design!

The NAVIGATE WORKING GROUP is here! Come innovate with PTC!

Sign up for a Working Group