Options for the Target Property

This topic describes the options that are available for the Target property. If you use the Object List Editor, then the Target property for the Command object displays six values. If you use the Command Wizard to create a new Command object, then Browser and Server are the only values available of these six values.

Target Property Set to Browser

If you set the Target Property to Browser, then the following situation applies:

  • Siebel CRM does not run the server PreInvokeMethod.

  • The method handler for this target exists on the browser as the JavaScript application, a JavaScript applet, or a JavaScript service.

  • You must define a method name in the Method property.

  • If the Business Service property specifies a business service, then Siebel CRM targets this business service.

  • If the Business Service property does not specify a business service, then Siebel CRM does one on the following:

    • Siebel CRM receives the call from an application menu or application toolbar. Siebel CRM targets to the method that the JavaScript application defines. For example, if you configure Siebel CRM to use the ActiveBusObject and RaiseErrorText application methods in a server script, then these methods must include a Browser target.

    • Siebel CRM receives the call from an applet menu. Siebel CRM targets to the method that the JavaScript applet defines. If Siebel CRM cannot use this configuration to handle the call, then it retargets the call to the method that it defines in the corresponding JavaScript business component. It does no inheritance or retargeting.

Target Property Set to Server

If you set the Target Property to Server, then Siebel CRM does not run the browser PreInvokeMethod, and Siebel CRM calls a method in a C++ class that resides on the Siebel Server on a service or on the infrastructure. If the Service property is not defined, then Siebel CRM targets the method to the infrastructure. This targeting depends on the following:

  • Siebel CRM receives the call from an application menu or toolbar. Siebel CRM handles the method in the following order of priority:

    • Uses the Siebel Web Engine UDF loader on the Siebel Server

    • Uses the model

  • Siebel CRM receives the call from applet menu. Siebel CRM handles the method in the following order of priority:

    • Uses the applet class that the applet references

    • Retargets, if necessary, successively up through the applet class hierarchy to CSSSWEFrame

    • If still not handled, retargets to the business component class of the business component that the applet references, and successively up through the business component class hierarchy to CSSBusComp