Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Notes and Domino wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM iNotes 9.0 Social Edition - Administering IBM iNotes 9.0 Social Edition - Using IBM Notes 9.0 Social Edition IBM Notes Traveler 9.0 - Administering IBM Notes Traveler 9.0 - Using Lotus Notes 8.5.3 Documentation Lotus Notes Traveler 8.5.3 Administration Documentation Lotus Notes Traveler 8.5.3 Usage Documentation Custom Search Scope...
Search
Community Articles > Alloy by IBM and SAP > Getting started with IBM Lotus Notes and Domino and Alloy 1.0 by IBM and SAP
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Shane Kilmon
Contribution Summary:
  • Articles authored: 7
  • Articles edited: 1
  • Comments Posted: 0

Recent articles by this author

Lotusphere 2011 Solutions Development Lab 02: Creating and deploying a Java Plugin for Notes and Symphony Part 5

This is part 5 of a 5 part lab run at Lotusphere 2011 in the Solutions Development Lab on the Showcase floor. This lab detailed how to create a Java plugin for Lotus Notes or Symphony, and shows 3 methods for deploying the plugin. Part 5 documents how to deploy the plugin using a Widget in ...

Lotusphere 2011 Solutions Development Lab 02: Creating and deploying a Java Plugin for Notes and Symphony Part 4

This is part 4 of a 5 part lab run at Lotusphere 2011 in the Solutions Development Lab on the Showcase floor. This lab detailed how to create a Java plugin for Lotus Notes or Symphony, and shows 3 methods for deploying the plugin. Part 4 documents how to deploy the plugin using the Addon ...

Lotusphere 2011 Solutions Development Lab 02: Creating and deploying a Java Plugin for Notes and Symphony Part 3

This is part 3 of a 5 part lab run at Lotusphere 2011 in the Solutions Development Lab on the Showcase floor. This lab detailed how to create a Java plugin for Lotus Notes or Symphony, and shows 3 methods for deploying the plugin. Part 3 documents how to deploy a plugin using a Composite ...

Lotusphere 2011 Solutions Development Lab 02: Creating and deploying a Java Plugin for Notes and Symphony Part 2

This is part 2 of a 5 part lab run at Lotusphere 2011 in the Solutions Development Lab on the Showcase floor. This lab detailed how to create a Java plugin for Lotus Notes or Symphony, and shows 3 methods for deploying the plugin. Part 2 documents how to create and edit a plugin in Eclipse. ...

Lotusphere 2011 Solutions Development Lab 02: Creating and deploying a Java Plugin for Notes and Symphony Part 1

This is part 1 of a 5 part lab run at Lotusphere 2011 in the Solutions Development Lab on the Showcase floor. This lab detailed how to create a Java plugin for Lotus Notes or Symphony, and shows 3 methods for deploying the plugin. Part 1 documents how to create a Live Text Recognizer to trigger ...

Community articleGetting started with IBM Lotus Notes and Domino and Alloy 1.0 by IBM and SAP

Added by Shane Kilmon | Edited by IBM contributor Pam Gilday on October 22, 2009 | Version 16
expanded Abstract
collapsed Abstract
No abstract provided.
Tags:

Getting started with IBM Lotus Notes and Domino and Alloy 1.0 by IBM and SAP


Introduction


This article is intended to be a reference for Administrators and Developers new to IBM Lotus Notes and Domino and Alloy 1.0 by IBM and SAP.  There is a wealth of information available for audiences with a range of experience with both SAP and Domino, but a noticeable lack of cohesion with regard to starting with a SAP/Alloy environment, installing and configuring a Domino server, installing and configuring the Alloy server, installing Alloy clients, and doing basic work-flow customization for exposing SAP objects in a Notes client.  Individual pieces of this are available, but there are gaps and a lack of very basic knowledge necessary for folks new to Notes and Domino.  This document is an attempt to address that, and provide one location for administrators looking for the variety of information available.  This will be a working document, and will be updated periodically with more information to fill gaps as new content is created.

What is Alloy by IBM and SAP?


Alloy 1.0 by IBM and SAP was released in February, 2009.  Its development and release was predicated on the belief that traditional business users need a seamless interface to back-end SAP information without leaving the comfort of the productivity tools (mail inbox, calendar, document management) they use to complete their day-to-day activities.  Alloy provides these users with access to SAP information from within a Lotus Notes client, which minimizes training needs for the millions of users already familiar with Notes, and improves the productivity and decision-making ability of workers who do not traditionally use a SAP GUI or Portal.

For more marketing information, please see the Alloy Solution Briefing and a SAP Insider article about "How to Increase the E.R.P (Effectiveness, Responsiveness, and Productivity) of Your Business Users", both of which (and more) can be found on the Alloy product website.

To understand how SAP/Alloy/Domino/Notes interact, let's take a look at a high-level Alloy architecture diagram.  

Figure 1:  Basic Alloy Architecture




As you can see, there is an Alloy component that sits on top of all 3 main layers:  the SAP NetWeaver and Domino servers, and the Notes Client.  The basic workflow, from an end-user perspective, is this:  

  • User initiates Travel or Leave request (or other, customized request)  
  • The request is sent to the Domino Alloy Server as an XML stream.  The user authenticates with Domino with the Notes User ID  
  • The Domino Alloy server sees that this is an Alloy request, and uses SAML (Secure Authentication Markup Language) to request a SAP logon ticket from the SAP Alloy Add-On software .  The SAML request includes the SAP user id associated with the Notes ID, along with a unique source id and artifact information.  The SAP user id is retrieved from the user's Person document in the Domino Directory  
  • The SAP Alloy Add-On passes back the logon ticket which allows the Domino Alloy server to only need to authenticate o nce per individual user request.  All future WebServices calls between Domino/SAP pertaining to thi s request will automatically authenticate with the credentials provided previously  
  • Based on the SAP Workflow, an Approval request is generated, and routed to the proper resource for Approval/Rejection.  Domino uses standard replication to route Approval requests.  That user authenticates in a similar fashion when sending back their decision, all handled via WebServices  
  • Alloy updates the SAP business objects based on the outcome, and the end-user is notified of the decision


This article will focus on how to set up the environment shown in the 3 yellow boxes above.  

Education offerings for Notes/Domino


There are a number of courses provided by IBM (and others) to help get new Notes/Domino administrators and users off the ground.  For a complete list of education offerings from IBM, please refer to:

Education Offerings on IBM Lotus Notes Domino 8/8.5

In particular, new Domino Administrators should benefit from D8900 - IBM Lotus Domino 8 System Administration Bootcamp and D8770 - Managing IBM Lotus Domino 8 Servers and Users.  These two courses contain the fundamental skills Administrators will need to manage an Alloy environment.  

New end-users will most benefit from N8010 - IBM Lotus Notes 8 Mail and Calendars Parts 1&2.  

Application Developers wishing to learn the IBM Lotus Domino Designer client will benefit from D8510 - Fundamentals of IBM Lotus Domino 8 Application Development.  This should give developers the foundation they need to become familiar with the Domino Designer client, and modify the Domino mail template to customize Alloy work-flows.

If you are not able to take any of the courses available, there is a significant amount of 'Learning Notes and Domino' material available for free.  A great resource to begin learning Domino is found here:

Learning Domino for Administrators

Here is a link to a wealth of Notes client learning materials:

Learning Lotus Notes clients

Finally, here are a number of learning roadmaps available for the Domino Designer, based on what type of applications you wish to develop:

Learning Domino Designer


Installing Domino


As I mentioned in the introduction, this article will assume that there is a working SAP environment, and that the reader is focused on the Domino/Alloy requirements.  Alloy 1.0 is currently only supported on Domino 8.0.2 servers running on a supported Windows operating system.  Given these prerequisites, there is a very good 'cookbook' for deploying a Domino server available through our developerWorks website.  This should be used as the first reference for establishing your Domino environment.  It can be found here:

Deploying the IBM Lotus Domino server:  A Cookbook

The Cookbook describes 3 different types of Domin o server that are available to install, and goes on to describe the installation of the Domino Enterprise Server.  This is the same type you will want to install for your Alloy server.

Once this is complete, you will have a basic, working Domino server.   As is, it will function just fine as a mail or application host.  To make it more useful, you will need to add users, configure Notes clients, establish other services, etc.  These are normal Domino administration tasks that help create a more robust Domino environment.  Full scope of what you can do with Domino administration is beyond what this document can cover.  In addition, further, very advanced configuration is required once the Alloy component is installed.  It is recommended that anyone not familiar with Domino who wishes to deploy Alloy should explore the education offerings available, or spend a significant amount of time reading the material found on the learning roadmaps linked above.  

Installing Alloy


The Alloy installation guide found in the Domino Information Center is a great resource.  The basic steps that need to be taken are:  
  • Installation of the Alloy code on top of the Domino server  
  • Creation and configuration of administrative users for both SAP workflow and application management  
  • Modification of master mail template to include Alloy design elements  
  • Creation and configuration of the Web services application (NDERPws.nsf)  
  • Configuring the default workflow applications and the roles required for each  
  • Configuration of security, internet port settings, and SSL  
  • Mapping of Notes user IDs to SAP user IDs



One detail to note here:  while setting this up, you will need to enable HTTPS on the Domino server.  This will require requesting trusted certificates from a Certificate Authority.  These certificates will need to be stored on both the Domino Alloy server, and the SAP NetWeaver J2EE server.  The public CA certificates from both Domino and SAP servers need to be added to the Java trust keyfile found at $DOMINO_DIR\jvm\lib\security\cacerts.

There may be additional types of configuration required, such as any additional internet, firewall, or Notes domain certificates that may be necessary for communication between servers.  These are environment dependent, and will vary based on the infrastructure in which you are setting up your Alloy servers.

There has also been a new article written and posted to the Lotus Domino/Alloy Wiki showing best practices and tips for deployment of a Domino Alloy server.  Please review this article for additional information on some of the steps listed above, and tips for successfully deploying:

Alloy by IBM and SAP:  Best practices and tips for deployment

A more complete Alloy Server Installation cookbook is beyond the scope of this article, but may be delivered as a separate document in the future.

Installing the Alloy Client


As with the Alloy server component, the Allo y Client installation guide is a great resource.  There are two main methods for installing the Alloy Client software:  using the installer that is bundled with the software, or by deploying it via provisioning from a centralized update site for managed Notes clients.  For environments with fewer seats, the Alloy installer may be the best solution.  For deployments to a larger community, using a Domino-based Alloy Update Site along with the Domino Widget catalog and Domino Policies is most effective.  Alternately, the add-on installer can be hosted centrally for users to manually execute if required.  

Installing via Alloy Plug-in installer

The plug-in installer can be found either on an Alloy DVD, or in a Webkit downloaded from IBM or SAP.  If installing from DVD, copy the client plug-in's install folder (it should be titled 'Alloy_Client_Kit') to your local hard drive.  Once there, navigate to the 'deploy' subfolder, and edit the plugin_customization.ini found there.  You will need to uncomment the line

#com.ibm.nderp.client/NDERPMDWS_URL=  

by removing the '#' from the beginning.  Next, update the NDERPMDWS_URL with the URL of the Domino Alloy server's web services application address, which should be something like this:

com.ibm.nderp.client/NDERPMDWS_URL=https://alloyserver.ibm.com/NDERPws.nsf/MetaDataService?openwebservice

Tip:
 Test this URL in a web browser (make sure the Alloy server is up and running) and log in with a Domino user ID that is mapped to a SAP user ID.  You should get a result like this:

Figure 2:  Alloy web service output



Once the edit is made to the plugin_customization.ini, make sure the Notes client is shut down, and launch the Alloy installer using the 's etup.exe', or 'Alloy.msi'.    

Click through the Welcome screen:


Figure 3:  Welcome screen

  • Read and accept the license



Figure 4:  License screen



  • Click 'Next' on the screen reminding you to make sure Notes is not running


Figure 5:  Reminder screen



Click 'Install' to begin the installation


Figure 6:  Install screen

Installation screen

This begins the install, and you can watch the progress as the plug-in is deployed


Figure 7:  Plug-in installing



Once the install is complete, click 'Finish'


Figure 8:  Install Complete screen



At this point, you can restart Notes, and begin using your Alloy client!  

Note:  If you are installing the Alloy plug-in via the self-extracting executable, you will need to create a temporary plugin_customization.ini to pass as an argumen t to the executable.  Please review the installation guide linked above for complete instructions.

Installing via Alloy Update Site and Widget Catalog

The other method of installing the Alloy plug-in is by using a more traditional managed client paradigm.  This method uses a number of fairly advanced Domino features, including Policies, NSF-based update sites, and configuration of Widget catalogs.  All of these features are too large to cover in an article of this nature, but the steps are documented clearly in the Alloy Installation guide, and helpful Domino Administration links are included as well.  I will cover the high-level steps here, and leave it to the reader to review the complete documentation for more detail. &n bsp;

The basic steps for this installation method are:  
  • Extract the 'updatesite' folder from the Alloy install kit and upload it to an NSF-based update site hosted on a Domino server  
  • Modify the 'extension.xml' Alloy widget file included with the Alloy server install, and tailor it to the specifics of your environment  
  • Create a Widget catalog on a Domino server, and create an Alloy deployment widget using the previously modified 'extension.xml'  
  • Create policies to deploy the Alloy Widget, and to update the notes.ini on the clients where Alloy is to be installed  
  • Test the policies on a Notes user to ensure everything works properly  
  • Assign the desired users to the policies in order to deploy when they next start their clients



Customizing Alloy Workflows


The customization of workflows in Alloy is a fairly simple procedure for basic approval workflows.  Greater complexity can be added with Status Update workflows, or custom agents to extend and control data elements within the approval messages.  These require a greater familiarity with rules of specific item data types in the SAP ERP system, more powerful programming capabilities in the Domino Designer client, and deeper knowledge of Domino architecture.  As this article is intended to be used to help administrators and programmers new to Domino, you will need to start with the basics, and that is becoming familiar with the Lotus Domino Designer client.  The Designer client is a very powerful programming UI that allows you to create or modify Domino databases (applications), Web-hosted applications, or composite applications which can blend components from various sources and tie them together via 'wires'.  The Designer allows you to use a number of different programming methods, including Lotus Notes Formula and LotusScript languages, Java, XML, JSPs and others.  

To begin your education on the Domino Designer, the Designer client itself has a comprehensive help system that should be the first place to begin reading.  Launch the Domino Designer client, and click the 'Designer help' button on the default Home page that opens.

Figure 9:  Domino Designer client



In the Designer help, for the purpose of basic customization of Alloy workflows, focus your attention on the 'Introduction to Domino Designer' chapter under the Application Design' twistie, in particular Database Forms, Subforms, and Fields.  

Figure 10:  Domino Designer Help

Designer help

In addition to the product help documentation, there are good resources on the Web to help you along your path to learning the Domino Des igner.  Check out the Domino Designer Wiki, which has a number of links to good reference material.  The Domino Designer 8.5 Information Center is also very valuable.  It is updated for the 8.5 version of the Designer client, but the majority of the content applies to the 8.0.2 Designer client as well.  A fun way to walk through the basics of the Domino Designer and application development is to take the ancient Domino Designer QuickStart Tutorial.  It is based on Domino Designer 5.0, but a surprising amount is still relevant and is very good for showing steps to create a basic application, and for learning the fundamentals of th e Domino Designer client.

Once you have become more comfortable with the Domino Designer, you are ready to begin simple modification of Alloy approval workflows.  There is a very good set of articles describing both the setup of a Material Master workflow from both the SAP and Alloy/Domino side.  First, review how to set up the SAP Business Workflow in the article:

How to set up an easy Material Master creation Workflow for Duet or Alloy

then, there are two excellent articles on how to modify the Domino approval workflow forms to handle ne w approval requests using the Material Master objects and workflow.  See

Implementing custom workflow decisions in Alloy 1.0 by IBM and SAP

and

The one with the customized Alloy workflow UI

Both articles describe essentially the same customization steps, but with various levels of detail, and slightly different techniques.  Both are very helpful.  In the first article, you may notice that the screen shots of the Designer client do not look the same as what you may be seeing in your environment.  The Domino Designer 8.5 client was used for that article, so the UI looks a bit different, but the essential steps and content are the same.  

The most important thing to take from these articles is the use of the Bound Item Type to specify the new form to use for the approval message, and also to allow a more flexible method of showing workflow-relevant data based on what specific Workflow is being used.  

Conclusion


Alloy 1.0 by IBM and SAP ties together two very complex and powerful tools that allow businesses to perform their day to day activities:  IBM Lotus Notes/Domino and SAP ERP software.  Trying to learn both environments is a monumental effort, and most companies will rely on experts in one or the other to collaborate when joining the two together.  This article is intended to be a reference for administrators and developers who may be well versed in SAP ERP, but with little or no experience with IBM Lotus Notes and Domino.  It provides helpful links and tips to take the reader from ground zero to having a working, customized Alloy infrastructure in the order of the logical steps needed to get up and running.
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (38)
collapsed Versions (38)
Version Comparison     
VersionDateChanged by              Summary of changes
50Aug 7, 2012 2:55:28 PMAmy Smith  IBM contributor
49Dec 21, 2009 3:53:01 PMAmy Smith  IBM contributor
48Nov 12, 2009 10:15:54 PMAmanda J Bauman  IBM contributor
47Nov 12, 2009 5:40:25 PMAmanda J Bauman  IBM contributor
46Nov 12, 2009 5:17:18 PMAmanda J Bauman  IBM contributor
40Oct 22, 2009 12:01:54 PMPam Gilday  IBM contributor
34Oct 22, 2009 11:40:08 AMPam Gilday  IBM contributor
33Oct 22, 2009 11:39:03 AMPam Gilday  IBM contributor
33Nov 11, 2009 12:17:09 PMPam Gilday  IBM contributor
32Nov 11, 2009 12:16:30 PMPam Gilday  IBM contributor
31Oct 22, 2009 11:35:55 AMPam Gilday  IBM contributor
31Nov 11, 2009 12:11:10 PMPam Gilday  IBM contributor
30Oct 22, 2009 11:25:56 AMPam Gilday  IBM contributor
29Oct 22, 2009 11:23:37 AMPam Gilday  IBM contributor
28Oct 22, 2009 11:23:22 AMPam Gilday  IBM contributor
27Oct 22, 2009 11:22:37 AMPam Gilday  IBM contributor
25Oct 22, 2009 11:10:36 AMPam Gilday  IBM contributor
21Oct 22, 2009 11:04:05 AMPam Gilday  IBM contributor
19Oct 22, 2009 10:59:47 AMPam Gilday  IBM contributor
19Oct 29, 2009 1:18:24 PMPam Gilday  IBM contributor
17Oct 22, 2009 10:21:21 AMPam Gilday  IBM contributor
17Oct 22, 2009 10:36:41 AMPam Gilday  IBM contributor
16Oct 22, 2009 10:21:21 AMPam Gilday  IBM contributor
This version (16)Oct 22, 2009 10:21:21 AMPam Gilday  IBM contributor
15Oct 22, 2009 10:02:27 AMPam Gilday  IBM contributor
14Sep 10, 2009 3:37:04 PMAmanda J Bauman  IBM contributor
13Sep 10, 2009 2:34:41 PMAmanda J Bauman  IBM contributor
12Sep 10, 2009 2:25:13 PMAmanda J Bauman  IBM contributor
11Sep 10, 2009 10:41:52 AMShane Kilmon  IBM contributor
10Sep 1, 2009 11:14:37 AMShane Kilmon  IBM contributor
9Sep 1, 2009 11:13:28 AMShane Kilmon  IBM contributor
8Aug 28, 2009 11:08:46 AMAmanda J Bauman  IBM contributor
6Aug 27, 2009 5:34:13 PMAmanda J Bauman  IBM contributor
5Aug 27, 2009 5:26:09 PMAmanda J Bauman  IBM contributor
5Aug 27, 2009 5:26:09 PMAmanda J Bauman  IBM contributor
4Aug 27, 2009 5:19:00 PMShane Kilmon  IBM contributor
3Aug 27, 2009 5:16:00 PMShane Kilmon  IBM contributor
1Aug 27, 2009 2:15:11 PMShane Kilmon  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use