Skip to main content
11-Garnet
Nov 18, 2024 10:55 AM UTC
Question

any properties file is not updating in windchill

I have written a separate xconf for data utility and I have register this custom xconf file in site.xconf as shown in below image

SB_10904295_0-1731927185647.png

 

and this my custom xconf file

SB_10904295_1-1731927237621.png

 

after I ran the xconfmanager -p the properties are not being updated in file.

3 replies

16-Pearl
Nov 19, 2024 7:49 AM UTC

Hi,

 

Sorry, a dumb question ..but did you restart MS after the xconf command?

 

Translate
Emeritus
Nov 26, 2024 4:39 AM UTC

Hello @SB_10904295,
 

It looks like you have a response from a community member. If you are in position to respond, please do so so that you can get an answer. Or if it helped to answer your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Translate
HelesicPetr
22-Sapphire II
Nov 27, 2024 2:29 PM UTC

Hi @SB_10904295 

I understand the xml structure, but does this structure work in Windchill? have you seen that anywhere used? because I've never used this structure

 

I define each option separately with all other attributes. 

 

so I would try to define all options separately. 

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration
 SYSTEM "xconf.dtd">
<Configuration xmlns:xlink="http://www.w3.org/1999/xlink">
<Service context="default" name="com.ptc.core.components.descriptor.DataUtility"
 targetFile="codebase/service.properties">
 <Option cardinality="duplicate" order="1" overridable="true"
 requestor="java.lang.Object"
 selector="duMySelctor"
 serviceClass="cz.aveng.MyOwnD.DataUtility"/>
</Service>
<Service context="default" name="com.ptc.core.components.descriptor.DataUtility"
 targetFile="codebase/service.properties">
 <Option cardinality="duplicate" order="1" overridable="true"
 requestor="java.lang.Object"
 selector="duMySelctor2"
 serviceClass="cz.aveng.MyOwnD.DataUtility2"/>
</Service>
</Configuration>

 

PetrH

Translate