cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Lotus Note Application from EP6

Former Member
0 Kudos

Hi All,

I am looking to create an iView that can launch or call an exe file extension, Lotus Notes, to open in another window.

Any assistance you could provide in how I could launch the application would be much appreciated.

Regards,

Andrew

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for your replies, will try them out and feedback if I can get it to work.

Regards,

Andrew

Former Member
0 Kudos

hi,

what you can do is using the abstractportal componenet you can create a button and in the event handler of tat button you can write the code to open the exe file of lotus.

you can make use of the java.lang class 'process'

the code to be written inside the event handler is as given below

{

String location = "";

// assign to this string variable the location of the ///lotus exe file say if its in c:/ as //'c:/lotus/domino/notes.exe'

Process p = null;

Runtime run = Runtime.getRuntime();

try

{

p=run.exec(location);

}

catch(Exception e)

{ }

this will open the lotus notes in the server side. if lotus notes is in some other machine give the machine name also when you give the path.

hope this works.

Former Member
0 Kudos

Hi andrew,

Have you resloved your problem?

If no then update the post otherwise close this thread.

Regards,

rahul

MichaelSambeth
Advisor
Advisor
0 Kudos

Hi!

from notes client 5.0.9 onwards, the client registeres itself as a so-called HTTP protocol. This means that you can launch a notes resource via a browser URL.

Type the following in your browser:

1) notes:///names.nsf to open a local database (e.g. your personal adress book)

2) notes://<server>/<path>/application.nsf to open a notes database on the server

The missing step is to create an iView. Since the standard URL iView does not accept the notes:// protocol you have to create a intermediate HTML page and pass your notes:// resource as parameter. To do so, please perform:

1) HTML page: notesprotocol.htm

<html><head><title>NotesClient Integration</title>

<script type="text/javascript">

<!--

function LaunchNotes() {

urlquery=location.href.split("?");

window.open(urlquery[1], "NotesClient");

}

// -->

</script>

</head>

<body onLoad="LaunchNotes()">

<h1>The Notes Desktop Client is launched...</h1>

</body></html>

2) iView:

http://<server>/<path>/notesprotocol.htm?notes://domino1/application1.nsf

Instead of creating a HTML page you can also create a JSP or a simple Domino web application for doing this job of translating HTTP:// into NOTES://.

Regards

Michael

Former Member
0 Kudos

Hi Michael Sambeth, I see your article and it's very interesting.

Now , I have one question.

I view the procedure how to open Lotus.exe in the SAP Portal and Now My requirement is the following:

What's is the procedure in the case we need open the Office (Word.exe,Excell.exe,Powerpoint.exe) in the SAP Portal ??

Roberto

Former Member
0 Kudos

hi,

inorder to do that you will have to activate the WebAccess feature of lotus notes.

then you have to download a webmailredirect component. now put this webmailredirect component in the lotus folder (say c:\lotus\domino\data)

now you can create an url iview in the portal . give the url as http://<server_hostname>:<port>/webmailredirect.nsf.

this will open the lotus notes. there are some configurations which has to be done inside the webmailredirect.