Solved

Lotus Reminder via SQL

Posted on 2003-11-12
5
213 Views
Last Modified: 2013-12-18
Hi,
i´m trying to insert an appointment (type 4) and alarm into the maildb via jdbc.
I don´t know how to insert the alarmoptions.
Any help ?
Thanks
0
Comment
Question by:barkus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 9733845
The problem with AlarmOptons is that it is more than a data change; the appointment document also needs to move into a hidden ($Alarms) folder, or the Notes client will not process the alarm.  So you can set the alarm data all you want, but it will be useless without this additional change.

So, what to do?  Don't use JDBC.  Use the Domino Object Model, which is available to Java.  On a Notes workstation, it uses, I think, NCSO.jar, as a JNI implementation.  If Notes is not installed on teh workstation, you would need to remote a call to a Domino server to do this, via IIOP/CORBA.  (The JDBC driver requires a local Notes workstation, so this should not be an issue for you.)

0
 

Author Comment

by:barkus
ID: 9738447
Thanks qwaletee,
I used the remote calls via Corba and it worked fine (you helped with VB Samples).
But what I need is a solution without starting a Corba-process on the Domino Server.
I have a standalone Java-app and Notes installed on the workstation.
Thanks in advance.
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 50 total points
ID: 9750674
If you have a Notes workstation installed, you can use teh identical Java code as you used in teh CORBA solution.  The only difference will be in how you initialize NotesFactory.

Well, one other difference. When you login via CORBA, you are supplying user/assword basic authentication credentials.  When you use teh local Notes code, you will always be using the workstation Notes ID.
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question