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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Set default value in CollectionComponentConfig.xml

PiotrNowicki
6-Contributor

Set default value in CollectionComponentConfig.xml

Hello,

I tried set default value of properties Change Management/Collector/Affected Object Collector/ Include dependent CAD/Dynamic Documents but it is not working. I created a loader file:

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE NmLoader SYSTEM "standardX26.dtd">
<NmLoader>

    <csvPreferenceInstance handler="wt.preference.LoadPreference.createPreferenceInstance">
        <csvname>IncludeDependentsOptionForOpenCollector</csvname>
        <csvcontainerClass>SITE</csvcontainerClass>
        <csvcontainerName></csvcontainerName>
        <csvorganization></csvorganization>
        <csvparentContainerPath></csvparentContainerPath>
        <csvuser></csvuser>
        <csvclientName>WINDCHILL</csvclientName>
        <csvvalue>None</csvvalue>
        <csvlock>false</csvlock>
        <csvlockOnly></csvlockOnly>
    </csvPreferenceInstance>
</NmLoader>

in method server is information that all object were imported successfully but when I open Preference Manager this properties stil have got value All  not None which i tried set. Anyone have got idea why it doesn't work??

 

1 REPLY 1

Never mind, I saw that my csvname was wrong. Should be:         <csvname>COLLECT_ITEMS_FROM_CHANGE_ITEM_AFFECTED_ITEMS_COLLECTOR_CATEGORY.CollectItemsFromChangeItem_AffectedItems.CADDOC_DEPENDENTS.default.option.id</csvname>  

Announcements

Top Tags