Skip to main content
11-Garnet
November 18, 2024
Question

any properties file is not updating in windchill

  • November 18, 2024
  • 2 replies
  • 612 views

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.

2 replies

16-Pearl
November 19, 2024

Hi,

 

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

 

Community Moderator
November 26, 2024

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.

HelesicPetr
22-Sapphire II
22-Sapphire II
November 27, 2024

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