Upgrade Guide for DB2 UDB for z/OS > Migrating Siebel 6.2.1 Customizations >
Migrating Outbound COM Interfaces
Upgrades: Release 6.2.1 only.
Environments: Development environment only.
This topic is part of an upgrade process. See How to Perform the 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.
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.
// Close Excel and 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)
- 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.
For more information on migrating client-side interfaces, see About Migrating 6.2.1 Client-Side Interfaces.
Migrating Inbound COM Interfaces