Skip to main content
15-Moonstone
January 3, 2024
Solved

Import missing preference

  • January 3, 2024
  • 1 reply
  • 1604 views

Hi All,

I'm trying to import a missing preference at Site level.

followed article CS152142 it throws an below error:

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 23; Document root element "csvPreferenceInstance", must match DOCTYPE root "null"

==

Referred to one of the article on community and used the below xml

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE PreferenceImpExp SYSTEM "standardX20.dtd">
<PreferenceImpExp>
<PreferenceInstance>
<name>Part to Document Association Logic</name>
<clientName>WINDCHILL</clientName>
<value>Yes</value>
<locked>false</locked>
</PreferenceInstance>
</PreferenceImpExp>

=

this also throws below error

Cannot import "Preference Instance" "Part to Document Association Logic" as there in no matching preference definition with name "Part to Document Association Logic".

 

any help would be appriciated.

Best answer by Fadel

load below file and restart your server :

Fadel_0-1704363257174.png

 

1 reply

Fadel
23-Emerald I
January 4, 2024

What preference is missing and what version are you running 

Buiꓘa
DKWc15-MoonstoneAuthor
15-Moonstone
January 4, 2024

The below highlighted preference is missing.

DKWc_1-1704362715534.png

 

windchill version using is 12.1.2.4

 

 

Fadel
Fadel23-Emerald IAnswer
23-Emerald I
January 4, 2024

load below file and restart your server :

Fadel_0-1704363257174.png

 

Buiꓘa