LOTUS INOTES
Enabling and configuring widgets in Lotus iNotes
Enable this feature by checking these two mail policy settings on the Lotus iNotes - Configuration tab of the Mail policy settings document:
To configure this feature, edit the inotes_config.xml file (located in the Domno/Data/domino/html folder) to include the widget configuration information. If this file does not exist, you can create this file based on the example provided below. The file may include one of both of the following elements:
<?xml version="1.0" encoding="UTF-8" ?>
<inotes:extensions xmlns:inotes="urn:x-inotes:ibm.com">
<webcontextConfiguration version="1.1">
...
</webcontextConfiguration>
Differences between the Notes client and Lotus iNotes using HTTP POST
The IBM® Lotus® Notes® client and Lotus iNotes™ implement the HTTP POST form submission method of loading a Web page differently due to security restrictions imposed by the same origin server policy on browser applications. Notes first loads the form from the Web site into the embedded browser, and then inserts the required parameters into the DOM of the form and submits it by invoking the form's submit JavaScript™ method. However, since Lotus iNotes is a browser application running inside of the browser (rather than an embedded browser container like Notes), it cannot access any elements in the DOM of the Web application unless the Web application is served from the same server as Lotus iNotes. This is known as the same origin server security policy. Consequently, Lotus iNotes must create a form element with the known input fields and values, and then submit the form to the Web application server using the form's action URL, specifying that the response display in the target iframe. As a result, Lotus iNotes cannot support widgets for all Web sites that the Notes client can support. The method of form submission that Lotus iNotes uses may fail for a number of reasons, but these are the most common:
Widgets created using Lotus Notes 8.0 do not specify the action URL for the form when using form based (HTTP POST) parameter submission. In 8.5, the widget creation wizard has been enhanced to provide the action URL in the <formAction> element. This means that widgets created with Notes 8.0 that use HTTP POST form submission will likely not work with Lotus iNotes and would need to be recreated using the Notes 8.5 wizard.
Web agent design elements in the toolbox catalog database must be signed using the Domino server's credentials in order to allow these agents to run for Lotus iNotes users. If the design elements are not signed by the server, Lotus iNotes users will not be able to browse the widgets catalog. Use the Domino Administrator client to sign the design documents in the database with the server's id.
Limitations
There are a number of limitations regarding the use of widgets with Lotus iNotes compared to the Notes client. These are listed below. Catalog widgets should be tested with Lotus iNotes to make sure that they work well on that platform prior to making them available to Lotus iNotes users. Catalog widgets are made available to Lotus iNotes users by adding "iNotes 8.5" to the platform field in the catalog document for the widget, and by including them in a category, or categories, specified in inotes_config.xml. Note that filtering widget catalog entries by platform type is relatively expensive from a server performance standpoint compared to filtering by category, so to maximize server performance, avoid including widgets that cannot support iNotes in the categories used to expose widgets to iNotes users. Following is a list of widget limitations when using widgets with Lotus iNotes:
Related topics