lotus-domino

Extracting attachments from lotus notes api using EmbeddedObject, Creating eo*tm file in system folder

巧了我就是萌 提交于 2020-01-04 01:53:08
问题 I am trying to extract attachments using EmbeddedObjects, I am able to extract attachments but create em*tm temp files in system temp folder. EmbeddedObject embeddedObject=document.getAttachment(attachmentName); InputStream inputStream=embeddedObject.getInputStream(); ..... ...... inputStream.close(); embeddedObject..recycle(); document..recycle(); After closing input Stream its not deleting temp file form system temp folder. Is it any thing wrong in my code or its setting issue with lotus

Share a LotusScript library between databases

不想你离开。 提交于 2020-01-03 18:39:01
问题 Is it possible to create a LotusScript library in one database and then access it from another database? Without simply copying the library into each database that needs to use it. What I would like to achieve is a single location where I can update the library and not have to manually copy it over to each database that is using it. I can't use a design template as the databases that use this script library all use different design templates. I guess another solution would be to create an

Share a LotusScript library between databases

好久不见. 提交于 2020-01-03 18:38:08
问题 Is it possible to create a LotusScript library in one database and then access it from another database? Without simply copying the library into each database that needs to use it. What I would like to achieve is a single location where I can update the library and not have to manually copy it over to each database that is using it. I can't use a design template as the databases that use this script library all use different design templates. I guess another solution would be to create an

In C# Get All the .nsf files(Notes Database) from \data\notes directory and populate it in a Listbox

旧街凉风 提交于 2020-01-03 06:49:27
问题 In C# Get All the .nsf files(Notes Database) from \data\notes directory and populate it in a Listbox or combo box or in Tree View. I am using "Interop.Domino.dll". 回答1: If you are running your app from anywhere other than the Domino server, you can use the Notes classes to access the server and loop over all databases. Here is the basic structure: NotesSession s = new Domino.NotesSessionClass(); s.Initialize("MyPassword"); NotesDbDirectory d = s.GetDbDirectory ("MyServer"); NotesDatabase db =

unable to send meeting request from lotus notes to microsoft exchange using icalendar

泄露秘密 提交于 2020-01-03 05:08:11
问题 here's my code. pls suggest the necessary changes to send meeting requests from lotus to exchange. I am getting a blank mail wid no content in both lotus and exchange.do i need to add the details directly into the lotus document , in addition to the .ics file? public class ICalendarSample { public static void main(String[] args) { // Creating a new calendar Calendar calendar = new Calendar(); calendar.getProperties().add(new ProdId("-//Lotus Development Corporation//NONSGML Notes 8.5.1//EN_S"

Use Quartz Scheduler in IBM Domino Application

懵懂的女人 提交于 2020-01-03 01:31:08
问题 I'm very new to Quartz, but know 3 simple things which you have to have in order to make it work. These are jobs, triggers and scheduler. Now, in our domino application we have to use it for refreshing a token. I've created 3 basic classes for it. The job: public class RefreshEGRZTokenJob implements Job { public void execute(JobExecutionContext arg0) throws JobExecutionException { System.out.println("stub for refreshing a token"); } } The trigger and something like main : public class

Lotus Domino Designer: Add a button in the default calendar

。_饼干妹妹 提交于 2020-01-02 23:06:48
问题 I need to add a button to the calendar by default. This button is a http link. Like this: Any idea ? I begin with Lotus Domino Designer. 回答1: Locate the view you are seeing in the designer, and add an Action button to the action bar. To have the action open an url, make it a "Formla" action and use the @URLOpen formula @URLOpen("http://www.stackoverflow.com") 来源: https://stackoverflow.com/questions/7982384/lotus-domino-designer-add-a-button-in-the-default-calendar

execute standby dialog from link

▼魔方 西西 提交于 2020-01-02 16:24:24
问题 Here is what i have : Xpages page that fills in form based on url parameter by key. This can take upto 10 sec to render and i would like to let the user know that the form is doing something. Fredrik Norling did a great standby dialog and its works great when i use it on button(save) http://openntf.org/XSnippets.nsf/snippet.xsp?id=standby-dialog-custom-control (am using Partial update on ID on the form when saved) How can i execute this script block from a link in a email ? There are option

Python : How can I access Lotus Notes 8.5 Inbox to read emails

自作多情 提交于 2020-01-02 08:44:11
问题 I want to make an script in python that reads mails from Lotus Notes 8.5 and then create for each email an issue in jira but it returns me this error when I try to read the mails from Lotus: Traceback (most recent call last): File "from_Lotus_TO_Jira.py", line 46, in <module> main() File "from_Lotus_TO_Jira.py", line 39, in main folder = notesDatabase.GetView('$Inbox') File "C:\Python27\lib\site-packages\win32com\gen_py\29131520-2EED-1069-BF5D-00 DD011186B7x0x1x2.py", line 1849, in GetView

LotusScript cannot get file attachment from email

痞子三分冷 提交于 2020-01-01 17:56:14
问题 I had never run into this problem, but I cannot get a handle on a file attachment on an email. I have code that can either search the document for Embedded Objects or search a field for Embedded Objects -- neither of them are returning the file. I can see the file on the email and I can see the $FILE field which contains the file attachment. Here is the code: Function FileDetachFiles(doc As NotesDocument, fieldName As String, getFromField As Integer) As Variant On Error Goto ProcessError Dim