Command to Get the Record ID of the Current Dashboard Record
This GetCurrentContactId command returns the record ID for the record that Siebel CRM currently displays 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.
Do not define any input arguments.
Always define ContactId as the output argument. The Customer Dashboard uses the ContactId variable. In this situation, this variable includes the record ID of the business component whose data Siebel CRM currently displays in the Customer Dashboard.
Example of the GetCurrentContactId Command
The following code is an example of the GetCurrentContactId command:
bs.InvokeMethod("GetCurrentContactId",inpargs,outargs);
var fvalue = outargs.GetProperty("Contact Id");
// do something with the contact ID