Get-Properties
The Get-Properties webject retrieves values from wt.properties and places them in an output group. This webject allows Info*Engine substitution syntax to be used in obtaining Windchill configuration properties and passing them as parameters to other webjects. The resulting output group contains a single element that holds the requested properties.
Syntax
<ie:webject name="Get-Properties" type="OBJ">
<ie:param name="ATTRIBUTE" data="property_name"/>
<ie:param name="AUTHORIZATION"
data="$(@SERVER[]authorization[0])"/>
<ie:param name="CONNECTION_ATTEMPTS" data="attempts"/>
<ie:param name="CONNECTION_ATTEMPT_INTERVAL" data="interval"/>
<ie:param name="DBUSER" data="username"/>
<ie:param name="GROUP_OUT" data="group_out"/>
<ie:param name="INSTANCE" data="appl_name"/>
<ie:param name="PASSWD" data="password"/>
</ie:webject>
Parameters
Required
Interdependent
Optional
INSTANCE
AUTHORIZATION
ATTRIBUTE
DBUSER
CONNECTION_ATTEMPTS
PASSWD
CONNECTION_ATTEMPT_INTERVAL
GROUP_OUT
* 
If a parameter is listed in the table but is not defined below, then it has a common parameter definition. For descriptions of those parameters, see the Common Webject Parameters section in Adapter Webjects Overview.
ATTRIBUTE
The names of the property values to retrieve. Unless specified, all properties are returned. This parameter is optional.
GROUP_OUT
The name of the output group produced by the webject. If not specified, the name assigned to the output group is “wt.properties”.
The group contains exactly one element, and each attribute of the element represents a configuration property. The name of the attribute is the same as the name of the corresponding configuration property, and the value of the attribute is the same as the value of the property. This parameter is optional.
¿Fue esto útil?