Skip to main content
Jan 3, 2024 6:01 PM UTC
Solved

Import missing preference

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.

FadelAnswer
3-Newcomer
Jan 4, 2024 10:14 AM UTC

load below file and restart your server :

Fadel_0-1704363257174.png

 

4 replies

3-Newcomer
Jan 4, 2024 8:26 AM UTC

What preference is missing and what version are you running 

DKWcAuthor
Jan 4, 2024 10:05 AM UTC

The below highlighted preference is missing.

DKWc_1-1704362715534.png

 

windchill version using is 12.1.2.4

 

 

FadelAnswer
3-Newcomer
Jan 4, 2024 10:14 AM UTC

load below file and restart your server :

Fadel_0-1704363257174.png