Siebel Database Upgrade Guide > Postmerge Development Tasks for Siebel 6.x Upgrades >

Migrating Outbound Siebel COM Interfaces


Upgrades from: Siebel 6.x.

Environments: Development environment only.

This topic is part of an upgrade process. See How to Perform a Siebel Database Upgrade.

Client-side application integration in the Siebel Web client can be accomplished by using two methods provided by Jscript.Net, Microsoft's implementation of the ECMA 262 language:

  • ActiveXObject. Enables and returns a reference to an Automation object
  • GetObject. Returns a reference to an Automation object from a file

For additional information on the ActiveXObject and GetObject functions, see the Microsoft Web site (http://www.microsoft.com) and the Jscript.Net documentation.

The following example illustrates using the ActiveXObject function to access properties and methods of Microsoft Excel, including the Application object and the ActiveSheet.

var ExcelApp;

var Sheet;

ExcelApp = new ActiveXObject("Excel.Application");

Sheet = new ActiveXObject("Excel.Sheet");

// Make Excel visible

Sheet.Application.Visible = true;

// Place some text in the first cell

Sheet.ActiveSheet.Cells(1,1).Value = "This is row 1 column A";

// Save the sheet.

Sheet.SaveAs("C:\\TEST.XLS");

// Close Excel and quit.

Sheet.Application.Quit();

In addition to the functions described above, you can use native functions provided by Siebel VB or Siebel eScript to handle client-side application integration:

  • Siebel VB
    • CreateObject (to access a client-side automation object)
    • Declare (to access an external DLL)
  • Siebel eScript
    • COMCreateObject (to access a client-side automation object)
    • CORBACreateObject (to access a remote CORBA interface)
    • SELib.DynamicLink (to access an external DLL)

For additional information on the Siebel VB and Siebel eScript functions listed above, see Siebel Tools Online Help.

Related Topics

About Migrating Siebel 6.x Client-Side Interfaces.

Migrating Inbound Siebel COM Interfaces

Siebel Database Upgrade Guide