lotus-notes

Can I get access to Lotus Notes embedded files without actually extracting them?

蓝咒 提交于 2019-12-08 11:42:30
问题 I'm working on a way of programatically accessing a Lotus Notes database to gather information on embedded attachments of records over a given period. My goal is to find records over a given period, then use Apache-POI to get metadata about document size, character count, etc. The POI part works fine, and so far, I've been able to access the Lotus Notes records thanks to this help: lotus notes search by date with Java api and this answer also shows me how to download/copy the attachments: How

SessionAsSigner - database object conflicts

柔情痞子 提交于 2019-12-08 09:31:08
问题 Hello Domino programmers! I work on a Xpages application and i ran into a following problem: I have to use sessionAsSigner object to get number of all documents in a view. I use single computed field to display: user visible document count / all documents count value and another computed field to display current (not sessionAsSigner) user name. Page looks as follows: Under UserName Computed field code i entered following code: session.createName(session.getEffectiveUserName()).getCommon()

Policy or file to set XPages Perfomance Preoloading and Run On Server

大城市里の小女人 提交于 2019-12-08 08:50:33
问题 Someone know what's the file into Notes Client 9.01 installation where is stored the Section XPages Perfomance that is show under Preferences of client Notes? I have need to set this information to all my client notes? Exist a policy settings or someone know what's the file? Tnx you 回答1: Notes.ini: XPagesPreload=1 XPagesPreloadDB=servername!!path/mydb.nsf/myxpage.xsp,servername!!path/anotherdb.nsf [NotesDataDirectory]/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings: com.ibm

“RepeatForUnit” item missing in Calendar entry?

假装没事ソ 提交于 2019-12-08 08:17:51
问题 I am accessing RepeatForUnit to manage "Repeats" in Lotus Notes. String RepeatForUnit = (string)((object[])docCalendarDoc.GetItemValue("RepeatForUnit"))[0]; Initially i was getting "D" for Daily event, "W" for Weekly and "Y" for Yearly. But now properties field not showing any of this value even after adding Repeat in calendar.It is not visible in Properties list of Lotus Notes Calendar and showing "" (black entry) for above code. I am not getting why this is happening.Can anybody help me out

How to get Attachment value from “$File” Item? using C# (Lotus Notes)

半腔热情 提交于 2019-12-08 04:47:00
问题 I am trying to access Attachment names form "$File" (Lotus Notes). NotesView inbox = _serverDatabase.GetView("($Inbox)"); NotesDocument docInbox = inbox.GetFirstDocument(); NotesItem file = docInbox.GetFirstItem("$File"); String fileType = file.type.ToString(); ( getting fileType value "ATTACHMENT" for mail containing attachments) I am not getting solution given in: How to Access attachments from Notes mail? I got solution as: object[] items = (object[])docInbox.Items; foreach (NotesItem

Perform division of a 22 digit number in lotus script

老子叫甜甜 提交于 2019-12-08 04:34:44
问题 I want to perform division of a 22 digit no. in lotus script. Can anyone please tell me how to do it? I am not getting the correct result. For e.g; dim num as Double; dim num1 as Double; num=123456789989898976765; num1 = num / 97; but i am not getting the correct result in num1. 回答1: To satisfy the mathematician in me, I have to tell you that you're never going to get the "correct" answer, the division produces a number that has an infinite decimal, but I get what you're after, I think. The

Insert inline image into Lotus Notes message

隐身守侯 提交于 2019-12-08 04:18:18
问题 I've been able to send emails using Lotus Notes and VBA and Python using the COM API like this: Can I use Lotus Notes to send mail? My question is how can I insert an image inline with the body text (not as an attachment) in a programmatic way (equivalent to the Edit | Paste Special)? I haven't been able to find any workable solutions from a few Google searches. Any solution using stock VBA or Python would be appreciated. Thanks! 回答1: If you don't need to do anything specific to Notes, i.e.

Assistance locating jar containing Domino/XPages classes

£可爱£侵袭症+ 提交于 2019-12-08 04:09:04
问题 I am working with a java developer who is writing a jar that needs to use multi-threading. We discovered today that Domino is managing the way that it uses threads using the NotesThread class. He is in the process of changing his code to do it the "domino" way. The traditional java 1.6 way is not going to work. He is asking me for the jar that contain the following classes so he can build his solution. Can someone point me to what jar contains these classes. com.ibm.domino.xsp.module.nsf

how to save form values to DB in domino designer by Lotus Script

心已入冬 提交于 2019-12-08 03:30:52
问题 I am new to Domino designer and lotus script, following my first question 1) How can I save form values to DB 2)How can I view DB( like MS access) 3) How to create view to retrieve values from DB Googled for it but found a link to save to db solution. I tried Sub Click(Source As Button) Dim myText As String Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Dim doc As NotesDocument Dim enteredText As String Dim session As New NotesSession Dim db As NotesDatabase Set db =

c# generated csv file sent via email embedded to bottom of email in lotus note

好久不见. 提交于 2019-12-08 02:51:53
问题 I am having this weired issue that CSV attachment sent via email using .NET SmtpClient appeared at the bottom of the email rather than attachment in Lotus Note. I just don’t know how to figure it out and I have no access to client computer makes debugging very hard. What are the possible steps I can take and possible gotchas I need to be aware of? Code is as below: var smtpClient = new SmtpClient { Host = ConfigurationManager.AppSettings["smtpServer"], Port = Convert.ToInt32