Solved

Lotus Reminder via SQL

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now