cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

any properties file is not updating in windchill

SB_10904295
7-Bedrock

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 3

Hi,

 

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

 

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.

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

Announcements

Top Tags