Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Version: Windchill 12.0
Use Case: while loading preference at organization level, it is getting created at site level as well.
Description:
Below is the preference file:
<NmLoader>
<csvPreferenceCategory handler="wt.preference.LoadPreference.createPreferenceCategory">
<csvname>Preference</csvname>
<csvparentName>Parent Name</csvparentName>
<csvdisplayName>Preference name</csvdisplayName>
<csvdescription></csvdescription>
</csvPreferenceCategory>
<csvPreferenceDefinition handler="wt.preference.LoadPreference.createPreferenceDefinition">
<csvname></csvname>
<csvvisibility>ORGANIZATION</csvvisibility>
<csvcategoryName>Preference</csvcategoryName>
<csvdisplayName>Preference name</csvdisplayName>
<csvdescription></csvdescription>
<csvlongDescription></csvlongDescription>
<csvdefaultValue/>
<csvhandler>com.ptc.windchill.enterprise.preference.handler.StringPreferenceValueHandler:4000</csvhandler>
</csvPreferenceDefinition>
<csvLinkPreferenceClientDefinition handler="wt.preference.LoadPreference.setClientDefinitionLink">
<csvname></csvname>
<csvclientName>WINDCHILL</csvclientName>
</csvLinkPreferenceClientDefinition>
<csvPreferenceInstance handler="wt.preference.LoadPreference.createPreferenceInstance">
<csvname></csvname>
<csvcontainerClass/>
<csvcontainerName>Organization name</csvcontainerName>
<csvorganization>Organization name</csvorganization>
<csvparentContainerPath/>
<csvuser/>
<csvclientName/>
<csvvalue></csvvalue>
<csvlock/>
<csvlockOnly/>
</csvPreferenceInstance>
</NmLoader>
Solved! Go to Solution.
This expected , see https://www.ptc.com/en/support/article/CS324510 , An ORG preference is visible to the Site and Org Administrators. Each Org could have a separate instance of the value tied to that Org.
This expected , see https://www.ptc.com/en/support/article/CS324510 , An ORG preference is visible to the Site and Org Administrators. Each Org could have a separate instance of the value tied to that Org.