GetBusComp Method for Business Objects

The GetBusComp method returns the business component instance that a business object references. It uses the following syntax:

SiebelApp.S_App.Model.GetBusObj(business_object).GetBusComp(business_component)

where:

  • business_object identifies the name of a business object.

  • business_component identifies the name of a business component.

Each view references a business object, and each business object references one or more business components. If you configure Siebel Open UI to call GetBusComp in the context of a business object, then you must do the following:

  • use the business_object argument to specify the name of the business object that the view references.

  • use the business_component argument to specify the name of a business component that the business object references.

For example, the following code gets the business component instance for the Order Entry - Orders business component that the Service Request business object references:

SiebelApp.S_App.Model.GetBusObj("ServiceRequest").GetBusComp("Order Entry - 
Orders")

For information about using BusComp in the context of an applet, see BusComp Method for Applets. For more information about views, business objects, and business components, and how they reference each other, see Configuring Siebel Business Applications.