Bookshelf Home | Contents | Index | PDF |
Configuring Siebel eBusiness Applications > Configuring the Customer Dashboard > About Customer Dashboard CommandsYou 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:
GetCurrentContactIdThis 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. bs.InvokeMethod("GetCurrentContactId",inpargs,outargs); var fvalue = outargs.GetProperty("Contact Id"); GetDashboardFieldValueThis 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." inpargs.SetProperty("Field Name","Field 4"); bs.InvokeMethod("GetDashboardFieldValue",inpargs,outargs); var fvalue = outargs.GetProperty("Field Value"); Update DashboardThis command is used to populate the Customer Dashboard with a new record.
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 |