lotus-notes

Problem in connecting Oracle 11g through JDBC thin driver ( Domino Java )

橙三吉。 提交于 2019-12-08 02:05:57
问题 I'm unable to connect Oracle 11 database remotely using following piece of code. However, same code works fine if I try to connect Oracle 9 database which is installed on my machine. What is missing ? ( I'm not getting any error, Lotus Notes hangs ) import lotus.domino.*; import java.sql.*; import oracle.jdbc.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); Database db =

Write contents of InputStream to a RichTextItem and attach to a Notes document in Java

你离开我真会死。 提交于 2019-12-08 01:44:43
问题 I am able to attach a file to RichTextItem of a domino document that I receive as an InputStream . Below is the code snippet: attachDocument(InputStream is){ ..... File attFile = saveInputStr(is); Document attdoc = testdb.createDocument(); attDoc.replaceItemValue("Form", "formAttachment"); RichTextItem rti = (RichTextItem) attDoc.getFirstItem("attachment"); rti.embedObject(EmbeddedObject.EMBED_ATTACHMENT, "", attFile .getPath(), attFile .getName()); ..... } This works fine. But what if I don

How do I prevent Lotus Notes users from forwarding or copying a message sent via System.Net.Mail?

我的未来我决定 提交于 2019-12-08 00:39:06
问题 I want to send email using SMTP client uiing microsft.net with C# as programming language. But for the emails sent through SMTP client, can we add security features like "no forwarding" or "no copying" etc. I dont want recipients of the email to forward or copy the content of the email. 回答1: Lotus Notes (the mail client) looks at the "Sensitivity" header. Using System.Net.Mail, you can accomplish the same thing (ONLY if your users are all using Lotus Notes) by using the following: mail

Create Lotus Notes hotkey/shortcut key for “reply to all with history”

自古美人都是妖i 提交于 2019-12-07 16:21:18
问题 Because I like to make common actions quick to access, I'd like to define a hotkey, e.g. Alt+L to do "reply to all with history", to act on the selected email. I'm using Lotus Notes 8.5 under Windows. Currently I have to either click the Reply button and then click "Reply to All with History Only" or I have to press Alt+3 then cursor down several times and press enter. Actually, Alt+3 doesn't always work because if the email is opened in its own window then you have to use Alt+2. I've pursued

Creating an appointment for lotus notes programmatically

删除回忆录丶 提交于 2019-12-07 16:19:50
问题 I need to create an appointment (Calendar entry) and distribute it to certain invitees automatically. I have two issues right now: 1) The calendar entry does not appear on the calendar for the chair. I have worked around this by adding the chair as a required attendee which sends them a notice to confirm, however I would like to know how to add it automatically. 2) The invitees are being sent an invitation, but they can not confirm it. Lotus throws an error saying that they cannot process the

lotus notes search by date with Java api

落爺英雄遲暮 提交于 2019-12-07 16:02:06
问题 I'm trying to select records by date from a Lotus Notes database and have run into trouble with correctly formatting the date. Here's the relevant code: public void runNotes() { Session s; try { s = NotesFactory.createSession((String)null, (String)null, "mypassword"); Database hkDB = s.getDatabase("NBHDH001/YNM", "H\\DHH00001.nsf", false); DocumentCollection docs = hkDB.search("[Date]>[2012/03/20]"); Date is a field in the record, and when I looked up records (with FTSearch), the date came

How can I export a list of databases resident on a given Domino server?

一个人想着一个人 提交于 2019-12-07 15:38:05
问题 I have a Lotus Domino server with a truly astounding number of Domino databases on it, arranged in various folders. Is there some means of exporting a list of all these databases, with their titles and creators' names, in a spreadsheet format of some kind? I have the Domino Admin and Domino Designer software, and I have or can get whatever access rights I'd need. 回答1: You'd think there'd be a way in the Domino Admin, but there's no way to export the list. So, your best bet I think is to use

Lotus Notes 7 - copy / move docs. ( parent & response docs ) without changing the UNID ?

回眸只為那壹抹淺笑 提交于 2019-12-07 14:26:40
问题 I have 2 databases : let say dbA and dbB. Actually, dbB is a ''child'' database of dbA, because the forms/views/frameset/etc that it contains they all are also in dbA. I want now, to copy from a view ( let say vwA ) from dbA some 8K docs to the same view ( vwA ) from dbB. THese 8k contains both parent and child docs, which in dbA are listing OK, with @Text(@UniqueDocumentID). I just made a test, copy one parent doc and its response, and pasted in the 2nd database, but unfortunately the

FTSearch involving date fields is confusing me

白昼怎懂夜的黑 提交于 2019-12-07 13:31:06
问题 I have Custom Control with a search screen that lets the users select any of up to six different fields to search on. I had no trouble getting all the other fields working with the exception of the two date fields. They can fill in both begin and end dates or just one or the other. Pretty standard stuff but I cannot figure out how to write the code to make the query work and have it do the search when it involves dates. var tmpArray = new Array(""); var cTerms = 0; if(requestScope.cmbSendTo !

send appointment invitation to lotus notes 8.5 clients via c#

半世苍凉 提交于 2019-12-07 12:01:25
问题 i am using Interop.Domino.dll and able to send mail via c# code to lotus notes 8.5 users. now i want to send appointment invations to users via c# code. here is my code. oNotesDocument.ReplaceItemValue("Form", "Appointment"); oNotesDocument.ReplaceItemValue("AppointmentType", "3"); // meeting oNotesDocument.ReplaceItemValue("Subject", "Deneme Toplantı"); oNotesDocument.ReplaceItemValue("CALENDARDATETIME", StartDate); oNotesDocument.ReplaceItemValue("StartDateTime", StartDate); oNotesDocument