1. Overview

harmon.ie for SharePoint (previously known as Mainsoft SharePoint® Integrator for Lotus Notes®) integrates content from Microsoft® SharePoint sites into Lotus Notes. The product is available in two packages:

This document is intended to be a resource for Domino® administrators, guiding them on how to install harmon.ie, and familiarize them with product configuration options.

1.1. Product components

harmon.ie consists of two components:

1.1.1. harmon.ie sidebar

This is the main component of harmon.ie and it provides most of its functionality:

1.1.2. The SharePoint button in Notes Mail template

Important The installation of this component is optional.

harmon.ie adds a SharePoint button to the Notes Mail action bar, using a new Mail template. The SharePoint button allows users to replace e-mail attachments with SharePoint links, and save e-mails or attachments directly to SharePoint from the Notes Mail application.

2. System requirements

These are the required software components:

For the integrated sidebar panel:
For the standalone sidebar application:
For both packages:

harmon.ie can be used to integrate content from Windows SharePoint Services (WSS) version 3.0, Microsoft Office SharePoint Server (MOSS) 2007 and SharePoint 2010.

For more information regrading SharePoint configuration requirements, read the knowledge base article: SharePoint configuration requirements for harmon.ie.

Note harmon.ie requires specific user permissions to enable all product features. The following Domino permissions are required: Read, Write, Create, Delete documents and Create folders.

3. Installation instructions

This section explains how to install the product for multiple users - either a pilot group or the entire organization.

In order to understand how to install harmon.ie for a single client, refer to this download page.

3.1. Sidebar installation for multiple users using the widget catalog

This section describes how to use Notes widget deployment technique to automate harmon.ie sidebar panel installation for multiple Notes users. For more information on Notes widget catalog, read: How to use a Notes widget to deploy a new plug-in to an existing Notes installation.

Important This process requires Domino server 8.0.1 or greater. If you are working with Domino 8.0.1, you should install a hot-fix as described in the Note to release 8.0.1 users section in this IBM article. There is no widget catalog support for Notes 8.0.0. Follow the instructions in Enabling user-initiated update with EUM to centrally install the sidebar for multiple users.

In order to use Notes widget deployment to provision harmon.ie sidebar to your users, follow these steps:

3.1.1. Creating the widget catalog

To create the widget catalog, if it doesn’t already exist on your Domino server, follow these steps:

  1. From Lotus Notes, click File > Application > New.

  2. In the application Server field, specify the Domino server on which to create the application.

  3. In the Title field, specify the application title, for example Widgets catalog.

  4. In the File name field specify an application name, for example toolbox.nsf.

  5. In the template Server field, specify the server on which the template resides.

  6. Click Show Advanced Templates and select the Widget Catalog template (toolbox.ntf).

  7. Click to enable Inherit future design changes, and click OK.

  8. Assign ACLs to control access rights to the catalog application for administrators, power users, and end users. Administrators must be granted the [Admins] role in the catalog Access Control List (ACL).

  9. Open the widgets catalog application and select View > Agents, highlight the Toolbox Sweeper/ToolSweeper agent, and click Enable. When prompted, specify the server on which the widget catalog resides.

For more information, read Creating the widget catalog in the IBM documentation.

3.1.2. Creating an NSF-based update site

Importing the update site into the NSF-based update site is the recommended method for deploying features and plug-ins using widgets. The NSF-based update site provides a central database for housing features for user deployment and provisioning. In this section, you learn how to import the harmon.ie feature into an NSF-based update site that will reside on your Domino server.

  1. From Lotus Notes, click File > Application > New.

  2. Click Show Advanced Templates and specify the Eclipse Update Site template (updatesite.ntf) as the template.

  3. Specify a title and NSF file name (for example, UpdateSite.nsf) and click OK. Make sure to create the application on the Domino server.

  4. Import harmon.ie update site into the open NSF-based update site, by doing the following:

    1. Download a zipped harmon.ie update site according to your client version, and extract it to a local folder.

    2. Click Features in the left pane navigator and then click the Import Local Update Site button.

    3. As prompted, browse to the folder where you placed the downloaded harmon.ie update site, select its site.xml file, and click OK.

Important The update site available from harmon.ie Web site is not licensed and is intended for evaluation purposes. To obtain a licensed update site for production purposes, please contact support@mainsoft.com.
Note You may sign the update site with your own certificate. To learn how, read: Signing custom or third-party features and plug-ins for install and update.

3.1.3. Creating harmon.ie sidebar widget in the catalog

To add the sidebar widget to the catalog, do the following:

  1. Download the mainsoft-extension.xml file (Right-Click > Save Target As…).

  2. Open the downloaded mainsoft-extension.xml file in an XML editor and modify the url attribute, to point to the harmon.ie update site site.xml file in the NSF-based update site you created in the previous step. Make sure to save the modified file in ASCII encoding. For example: url="nrpc://NSF-based-update-site-server-name/UpdateSite.nsf/site.xml"

  3. From Lotus Notes, open the Widgets preference page by clicking File > Preferences > Widgets.

  4. Enable the Show Widgets Toolbar and the My Widgets sidebar panel option (this option is typically disabled by default when not using policies).

  5. Verify the Catalog server and Catalog name (e.g. toolbox.nsf) values are not empty, and point to the location of the widget catalog.

  6. Click OK to display the My Widgets sidebar panel and toolbar and connect to the widget catalog.

  7. Open the widget catalog from the My Widgets sidebar panel by clicking Catalog > Browse in the My Widgets options menu.

  8. Create the harmon.ie widget as follows:

    1. In the widget catalog, click the All Widgets view option.

    2. Click Add Widget to Catalog, and enter a widget title, for example "harmon.ie".

    3. Click Category and type the new catalog category name, for example: SharePoint. In the Description field, you may enter a brief description.

    4. Click Attach and select the mainsoft-extension.xml file that you edited earlier, and then click Save and Close.

Important The version number used in the mainsoft-extension.xml file refers to latest version of harmon.ie evaluation package. If you are installing a different package, you should use the version number available in the site.xml file on the harmon.ie update site.

3.1.4. Testing harmon.ie sidebar widget

We recommend testing the feature deployment widget before making it available to your users.

  1. Drag the new widget from the widgets catalog view to your My Widgets sidebar panel.

  2. Respond to any feature install prompts that appear. When you install a new feature you are prompted to restart the client.

  3. Upon restart, note the addition of the harmon.ie widget in the My Widgets sidebar panel and a new harmon.ie sidebar panel.

  4. Test the functionality of the harmon.ie sidebar panel.

3.1.5. Provisioning harmon.ie sidebar widget to users

To provision the sidebar widget to your users, do the following:

  1. Configure desktop policy settings document with the widget catalog information:

    1. Open the Domino Administrator client, and click People & Groups People > Policies > Settings to open the Settings view.

    2. Click Add Settings and choose Desktop.

    3. Click the Widgets tab, and in the Widget catalog server field, specify the server on which the widget catalog resides.

    4. In the Widget catalog application name field, specify the catalog name, for example toolbox.nsf.

    5. In the Catalog categories to install field, specify the catalog category in which the harmon.ie widget resides, for example SharePoint.

    6. Specify the policy name and save the document.

  2. Make sure to assign this policy to the users you wish to provision the sidebar widget.

  3. Install the widget from the catalog to the users' client system by doing the following:

    1. From Lotus Notes, go to your My Widgets sidebar panel, and click the Catalog > Update Widgets options menu.

    2. Allow the local catalog to be updated or replicated on its regular schedule. Be aware that the new widget will be added to your users when the local catalog is updated.

Note A local copy of the catalog is created on the user’s client system and periodically updated based on a 24 hour (default) replication schedule.

3.2. Bundling the integrated sidebar with the Lotus Notes installation package

If you are about to roll-out the Notes client, you can bundle harmon.ie sidebar panel with the Lotus Notes client.

In order to create a combined installation package, follow these instructions:

Note The version number used is an example. If you are installing a different version, you should use the version number available in the site.xml file on the harmon.ie update site. For a reference to the attributes in this code snippet, and for more information about this procedure read Customizing the Notes install manifest for new or third-party Eclipse features in the IBM Lotus Domino Administrator help.

Complete instructions on how to customize the Notes install kit to add and remove Eclipse features are available in this IBM help topic.

3.3. Installing the standalone application for multiple users

Download the product installer file. You may silently install the standalone package by running the following from the command prompt:

HarmonieSharePointNotesSetup.exe /S /D={install_dir} /language={lang}

3.4. Installing the SharePoint button

This section explains how to install the SharePoint button for a pilot group or for the entire organization.

Important The SharePoint button is visible only to users who have harmon.ie sidebar installed on their machine. For the others, the SharePoint button is hidden.

3.4.1. SharePoint button installation for a pilot group

To install the SharePoint button from the Domino server to specific users, usually a pilot group:
  1. Download the Mainsoft Mail template that applies to your users' Notes version.

  2. Sign the template with your production ID file and place the template file on the Domino server.

  3. Open the Domino Administrator console window, and enter the following commands:

    tell router quit
    load convert mail/johndoe.nsf * mail<X>_Mainsoft_V<X.x>.ntf
    load router

3.4.2. SharePoint button installation for the entire organization

The recommended way to centrally install the SharePoint button for the entire organization is to replace the default Mail template with harmon.ie Mail template.

If the organization uses a custom Mail template, you will need to merge the two template files first. For details on the differences between the harmon.ie Mail template and the default Mail template, read the Customizing the Mail template appendix in this document.

To replace the Mail template for the entire organization:
  1. Download the Mainsoft Mail template that applies to your Notes version.

  2. Sign the template with your production ID file and place the template file on the Domino server next to the standard Mail template.

  3. Shut down the server by entering the exit command in the Domino server console.

  4. Backup and delete the mail<x>.ntf template file, where <x> is the Notes version.

  5. Change the name of harmon.ie template to match the standard Mail template. For example, rename mail8_Mainsoft_V8.0.2.ntf to mail8.ntf. Then, restart the server

  6. When the server is started, change the database properties of the harmon.ie Mail template as follows:

    1. From the Domino Administrator, open harmon.ie Mail template, and choose File > Database/Application > Properties to open the Database window.

    2. Click the Design tab.

    3. Replace the name of the harmon.ie Mail template with the standard Notes template name, according to the following table:

harmon.ie Template Name Notes Template Name

StdR6Mail_Mainsoft_SPI

StdR60Mail

StdR7Mail_Mainsoft_SPI

StdR70Mail

StdR8Mail_Mainsoft_SPI

StdR8Mail

StdR85Mail_Mainsoft_SPI

StdR85Mail

Note By default, database designs are automatically refreshed at night. You can manually update database designs if you do not want to wait until the next day for changes to take effect. To manually refresh the Mail database design for all Lotus Notes databases, open the Domino Administrator console from the Domino server, and use the load design command.

4. Centralized provisioning of preferences

This section details how to use the Domino policy-based system administration to centrally provision harmon.ie preferences for its users. These preferences are stored in a standard desktop policy settings document, which then can be assigned to users either as organizational policies or as explicit policies.

harmon.ie also provides a Windows Registry-based provisioning of SharePoint sites and harmon.ie preferences. For more information read: Provisioning harmon.ie for SharePoint

4.1. Centralized configuration of SharePoint sites

Important Central configuration of SharePoint sites is available for Lotus Notes 8.x only. harmon.ie also provides a Windows Registry-based provisioning of SharePoint sites. For more information read: Provisioning harmon.ie for SharePoint

You can use the Accounts configuration in the Desktop policy settings to integrate SharePoint sites into the Domino policy infrastructure.

To configure a SharePoint site in a Desktop policy settings document:
  1. From the Domino Administrator, select the People & Groups tab and open the Settings view.

  2. Click Add Settings and select Desktop.

  3. Go to the Accounts tab, and add a new account for harmon.ie:

    1. Give a name for the account.

    2. Specify SharePoint as the account Protocol.

    3. Specify the Server Address of the SharePoint site, in this format:

      http:// <sp-site> [?useWindowsAuth=true] [?BrowserAuthentication=true] [&hideSubSites=<true/false>] [&useOWA=<true/false>] [&defaultSocialServer=true]
Server address parameters:

Here is an example for a server address:

https://demo.mainsoft.com?useWindowsAuth=true
Note You can configure multiple sites using this procedure.

4.2. Using Managed Settings

With Domino 8.5, you can use the Managed Settings section of a desktop policy settings document to configure some of the preferences of the behavior of harmon.ie.

Important harmon.ie also provides a Windows Registry-based provisioning of preferences. For more information read: Provisioning harmon.ie for SharePoint

To use Managed Settings, do the following:

  1. Create a desktop policy settings document.

  2. On the Custom Settings tab, open the Managed Settings tab, and click Edit list… to specify the relevant values according to the table below.

  3. Click Add/Modify Value>>, and save the document.

  4. Assign this desktop policy to users.

Item Values Plug-in name Notes

PromptToReplaceAttachmentsWithLinks

Yes

com.mainsoft.sharepoint.sidebar

Forces users to be prompted to replace e-mail attachments with SharePoint links. This feature requires the SharePoint button to be installed.

PromptForContentType

True

com.mainsoft.sharepoint.sidebar

Forces users to choose SharePoint content type during documents upload.

WarnOnMissingRequiredProperties

True

com.mainsoft.sharepoint.sidebar

Forces users to be warned when documents' required properties are not filled in.

AutoCheckInDocuments

Ask or Always

com.mainsoft.sharepoint.sidebar

Specifying Ask forces users to be prompted to check in their documents. Always automatically checks in the document without prompting the users.

5. Appendices

5.1. Customizing the Mail template

If you need to modify the Lotus Notes Mail template to add harmon.ie features, follow these procedures:

  1. From the Domino Designer, open your Notes Mail template (mail<x>.ntf) and harmon.ie Mail template (mail<x>_Mainsoft_V<x>.ntf).

  2. Copy the SPI_MainSubForm_2_0 subform from harmon.ie Mail template to your Notes template. The subform is located under the Shared Code/Shared Elements > Subforms node in the application navigation tree, and should be copied to the equivalent node in your Mail template.

  3. Copy the SPI_DownloadDocumentAgent_2_0 and the SPI_ReplaceAttachmentsWithLinks_2_0 agents from harmon.ie Mail template to your Notes template. The agents are located under the Shared Code/Code > Agents node in the application navigation tree, and should be copied to the equivalent node in your Mail template.

  4. Copy the SPI_ScriptLibrary_2_0 script library from harmon.ie Mail template to your Notes template. The script library is located under the Shared Code/Code > Script Libraries node in the application navigation tree, and should be copied to the equivalent node in your Mail template.

  5. Sign the agents, the script library and the subform you copied with your production ID.

  6. Insert the SPI_MainSubForm_2_0 subform into each of the mail forms: Message (or Memo for Notes 6/7), Reply, and Reply with History.

    1. Open the relevant mail form (e.g. the Message form).

    2. Right-click at the beginning of the form to insert the subform, and choose the Insert Resource… action. Make sure to insert the subform at the beginning of the form for it to be available in all the form modes.

    3. Choose the SPI_MainSubForm_2_0 subform from the current database.

    4. Repeat this operation for all mail forms (e.g. the Reply and Reply with History forms).

  7. In your Mail template, insert code into the Send and Send and File… actions of the Message (or Memo for Notes 6/7) form. Add the following code before the MEMO_SEND and MEMO_SEND_FILE variables initialization:

    FIELD SPI_SendCanceled := @Unavailable;
    @Command([RunAgent];"SPI_ReplaceAttachmentsWithLinks_2_0");
    @If( SPI_DontSwitchForm = 1; FIELD SPI_DontSwitchForm:=@DeleteField; @UpdateFormulaContext);
    @If(SPI_SendCanceled; @Return(""); "");
Note You can use the code of the Send and Send and File… actions in harmon.ie Mail template as a reference.