Integration with Other Applications > Integrated Software Management > PTC Windchill Integration for Software Build Tools Developer's Guide > Using the Windchill Integration for Software Build Tools Commands > UpdateObject
  
UpdateObject
The UpdateObject command updates the attributes of a specified object by querying the object.
Command-Line Syntax
java —jar RBMWebServiceCore.jar —ServiceName UpdateObject —ContainerType —ContainerName —ObjectName [—Location] —Attribute —Revision
Argument
Description
—ContainerType
One of LIBRARY, PRODUCT, or a PROJECT.
—ContainerName
Name of the container.
—ObjectName
Name of the object.
—Location
Location of the object in the specified container.
—Attributes
A list of key value pairs separated by a semicolon that need to be updated. See the Example section for the usage.
—Revision
Object revision ID. If no revision is specified, the latest iteration is used.
Configuration File Template
<service>
<ServiceName>UpdateObject</ServiceName>
<ContainerType>...</ContainerType>
<ContainerName>...</ContainerName>
<ObjectName>...</ObjectName>
<Location>...</Location>
<Attributes>...</Attributes>
<Revision>...</Revision>
</service>
Example
To update the build description and the build label of an object located in Test Folder in GOLF_CART container of a product, type:
java —jar RBMWebServiceCore.jar —ServiceName UpdateObject —ContainerType PRODUCT —ContainerName GOLF_CART —ObjectName TestSWBld3 —Location Test Folder —Attributes BuildDescription=Testing Update Service1;BuildLabel=TestLabel1 —Revision A