Configuring Siebel eBusiness Applications > Configuring the Customer Dashboard >

About Customer Dashboard Commands


You can use Siebel VB or eScript to push information to the Customer Dashboard or pull information from the Customer Dashboard. Because the Customer Dashboard is a business service, you need to use the GetService ("Persistent Customer Dashboard") command.

There are two commands to pull information from the dashboard:

GetCurrentContactId

This command returns the record Id for the current record populated in the Customer Dashboard. For example, if the record is from the Contact business component, then GetCurrentContactId returns the ContactId; if the record is from the Account business component, then GetCurrentContactId returns the AccountId.

No input argument should be specified.

The output argument is always "ContactId."

NOTE:  The "ContactId" is a variable used by the Customer Dashboard, but this refers to the record ID for whichever business component is populated in the Customer Dashboard.

For example:

bs.InvokeMethod("GetCurrentContactId",inpargs,outargs); var fvalue = outargs.GetProperty("Contact Id");

GetDashboardFieldValue

This command returns the current field value for the record populated in the Customer Dashboard. The input argument is the name-value pair for the Customer Dashboard field. The output argument is "Field Value."

For example:

inpargs.SetProperty("Field Name","Field 4"); bs.InvokeMethod("GetDashboardFieldValue",inpargs,outargs); var fvalue = outargs.GetProperty("Field Value");

Update Dashboard

This command is used to populate the Customer Dashboard with a new record.

  • Source Name: Base View
  • Buscomp Name: Contact
  • RowId: E301

For example:

inpargs.SetProperty("Source Name","Base View", "Buscomp Name", "Contact", "RowId", "E301"); bs.InvokeMethod("Update Dashboard",inpargs,outargs);No output argument

NOTE:  In Siebel 7 versions 7.0.3 and 7.0.4 there are two spaces between "Buscomp" and "Name" in the second parameter. In subsequent versions, there is one space.

Configuring Siebel eBusiness Applications