Developing and Deploying Siebel eBusiness Applications > Creating a Virtual Business Component > Creating a Virtual Business Component >

Defining User Properties for the Virtual Business Component


The user properties required by the NREC Renovations VBC are Service Name and Service Parameters. The Service Name user property defines which business service the VBC invokes. The Service Parameters define the parameters that are passed into the business service upon initialization. In this example, the parameters are defined in the script attached to the business service. Read the Pal_Init function in the Code Samples.

To define virtual business component user properties

  1. Select the NREC Renovations VBC business component.

NOTE:  If the Business Component User Prop is not visible in the Object Explorer, then you need to make it visible by choosing View > Options to display the Development Tools Options dialog box, then clicking the Object Explorer tab. The check box for Business Component User Prop is in the Business Component hierarchy.

  1. In the Object Explorer, select the Business Component User Prop object type (child of business component).
  2. Add the user properties records as shown in the following table.
    User Property Name
    Value
    Comments

    Service Name

    NREC Text File Handler

    Name of the business service.

    Service Parameters

    D:\NREC\nrec.txt;3;House_ID,Date,Description

    The script for the current example specifies the service parameters as the full path to the file name, number of columns, and column names. The parameters must be separated by semicolons, and there can be no spaces in the comma-delimited strings. Service parameters vary depending on the business service being used.

Developing and Deploying Siebel eBusiness Applications