Siebel Product Administration Guide > Siebel Configurator API Reference > Instance APIs for the Complex Object Manager >

SetInstance Method


(Optional) Specifies whether to use the SetInstance or LoadInstance option.

Value can be Y or N. If set to Y, the first child property set of the input argument must be the CP instance being validated in its property set representation form. N by default.

When you use SetInstance, the input property set must be wrapped inside a parent property set.

For example, to use the following instance property set:

<PropertySet PrimaryRowId="42-56O78" OutputIntObjectName="7.7 Quote Integration Object">

......

</PropertySet>

You must wrap it in another property set, as follows:

<PropertySet>

<PropertySet PrimaryRowId="42-56O78" OutputIntObjectName="7.7 Quote Integration Object">

......

</PropertySet>

</PropertySet>

This method creates a configuration session with the supplied property set, permitting configuration without directly writing to the database. The structure of the input property set does not need to correspond to a Siebel object, such as a quote that is indicated by the integration object specified.

Input Arguments

Same arguments as LoadInstance but also requires the property set indicating the state to load. This property set must have the SiebelMessage object as the only first level child.

Output Arguments

Same arguments as LoadInstance.

Siebel Product Administration Guide Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.