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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

property values

MikeLockwood
22-Sapphire I

property values

A while back I observed someone generate a list of Windchill properties with all actual values rather than variables - but forgot how to do this.


In general, one property's value can be a concatentation of other property values defined as $ variables. Example - this property is listed like this:in wt.properties:


wt.federation.org.directoryServices=$(wt.federation.org.defaultAdapter),$(wt.federation.org.enterpriseAdapter)


How can you show the value with the substituted actual values of:


$(wt.federation.org.defaultAdapter)


and


$(wt.federation.org.enterpriseAdapter)

1 REPLY 1

Mike,

There's an option for the windchill command to get property values.

windchill properties wt.properties?wt.cmd.*

will show you all properties in wt.properties that start with wt.cmd

windchill properties db\db.properties?wt.pom.*

will show you all properties in db.properties that start with wt.pom

Files in codebase do not require the directory to be specified. The second
example above has path to the file from the windchill loadpoint
(db\db.properties).

Leave out the ? if you want to show the entire file. This will convert
other property references as you mentioned as well show the property
without escape characters.

You can get a little more information from the help using just "windchill
properties".

Let me know if you have any questions.

Regards,
Bill



On Fri, Jul 13, 2012 at 6:15 PM, Mike Lockwood
<mike.lockwood@alconlabs.com>wrote:

> A while back I observed someone generate a list of Windchill properties
> with all actual values rather than variables - but forgot how to do this.
>
> In general, one property's value can be a concatentation of other property
> values defined as $ variables. Example - this property is listed like
> this:in wt.properties:
>
>
> wt.federation.org.directoryServices=$(wt.federation.org.defaultAdapter),$(wt.federation.org.enterpriseAdapter)
>
> How can you show the value with the substituted actual values of:
>
> $(wt.federation.org.defaultAdapter)
>
> and
>
> $(wt.federation.org.enterpriseAdapter)
>
Announcements


Top Tags