Solved

Lotus Reminder via SQL

Posted on 2003-11-12
5
210 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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