Properties You Must Include to Register Custom Business Services

The following table describes the properties that you must include in the inputObj argument of the ServiceRegistry method when Siebel Open UI registers a custom business service. The local constants.js file defines each of these properties as a constant.

Properties Value

DOUIREG_OBJ_NAME

The name of a custom business service. For example:

LS Pharma Validation Service

DOUIREG_SRVC_NAME

The name of the JavaScript class that the custom business service references. For example:

PharmaCallValidatorsvc

The following table describes the properties you must include in the inputObj argument of the ServiceRegistery method when Siebel Open UI registers a custom business service that references a predefined applet or a predefined business component.

Property Value

DOUIREG_OBJ_TYPE

Specifies that this business service method references an applet or a business component. You must use one of the following values:

  • Use DOUIREG_OBJ_TYPEAPPLET for an applet.

  • Use DOUIREG_OBJ_TYPEBUSCOMP for a business component.

DOUIREG_OBJ_MTHD

Name of the predefined business service method that you must customize. For example, WriteRecord.

DOUIREG_SRVC_NAME

The name of the JavaScript class that the Class property of the business service method references. For example:

pharmacallsvc

DOUIREG_SRVC_MTDH

Name of the business service method that you customized. For example, WriteRecord.

DOUIREG_EXT_TYPE

You can use one of the following values:

  • DOUIREG_EXT_TYPEPRE. Siebel Open UI runs the custom business service method, and then runs the predefined business service method. You must configure Siebel Open UI to set the Invoked property to true after it processes DOUIREG_EXT_TYPEPRE so that it does not make any more calls to this method.

  • DOUIREG_EXT_TYPEPOST. Siebel Open UI runs the predefined business service method, and then runs the custom business service method.