Blogs

The one with the Alloy landscape switch
Dirk Lehmann SAP Employee 
Business Card
Company: SAP AG
Posted on Mar. 02, 2009 04:54 AM in Alloy, Emerging Technologies, Interoperability IBM

Subscribe.Subscribe
Print. Print
Permalink Permalink
Share

Based on your landscape or project setup you might have more than one Alloy landscape in your company. A good idea is to use one and the same Lotus Notes client in order to access multiple Alloy landscapes. But simply setting up a new Location in Lotus Notes isn't quiet sufficient to switch between Alloy landscapes. 

 

In order to switch between two (or even more) Alloy landscapes you first have to make sure to create a Location document for each of the landscapes.
Edit Lanscape menu

Make sure to enter the username, user ID file, Domino mail domain etc. for the new landscape.
Create location

After creation of the new Location document, shut down your Lotus Notes client.

 

As the Alloy client installation adds two entries in your notes.ini file, we've to do some minor modifications in there.
Open the notes.ini file, which is placed in the installation folder of your Lotus Notes client, in your favourite text editor.
notes.ini

Delete the two entries that start with

  • $NDERPMDWS_URL
  • $NDERPMID

from your notes.ini file.

 

Before we can restart the Lotus Notes client, we've to change one additional file in the file system.
From your Lotus Notes installation folder, open the framework/rcp subfolder,
Path to rcp plugin

where you can find the plugin_customization.ini file.
RCP PluginSettings

Open it in your favourite text editor and edit the following entry:

  • com.ibm.nderp.client/NDERPMDWS_URL

Replace the old Alloy server entry with the new Alloy server entry.

Example:

com.ibm.nderp.client/NDERPMDWS_URL=http[s]://<AlloyDominoServer>:<AlloyDominoHTTPPort>/NDERPws.nsf/MetaDataService?openwebservice

 

Start your Lotus Notes client. The value found in the plugin_customization.ini file, will automatically be sourced to the notes.ini file to recreate the two entries we deleted in the prior step.

Note: Switching between Alloy landscapes (as well as switching users in one landscape) requires a restart of the Lotus Notes client.

Note: You might put those steps mentioned here in a small script to automate the landscape switch.

 

Dirk Lehmann   is currently working as a Regional Group Specialist for Alloy (formerly known as project "Atlantic") in the Information Worker Division. He began his SAP career in 2001 as an SAP NetWeaver developer for Java. Prior to this career at SAP, Dirk worked for IBM Germany.


Comment on this article
Comment on this weblog