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 called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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>  

Top Tags