lotus-notes

Notes View: How can I show only those documents which are under the user's name in a specific field

送分小仙女□ 提交于 2019-12-25 05:45:12
问题 I want to show to the users who are accessing the view the documents which are under him or her. For example: If I have a field named " Name ". There are 23 documents in the view and of all those documents, but only five of them have my name under "Names" field. I want to show in the view all those documents under me which would be five documents. Could you please help me? I appreciate it a lot. 回答1: Create a Page with an embedded view. Categorize view by field Name . Put into embedded view's

notesdocumentcollection.ftsearch and a search query with special characters

大兔子大兔子 提交于 2019-12-25 05:17:09
问题 i try to make a search function in ssjs that looks like this. notesdocumentcollection.ftsearch('"*' + searchword + '*"'); i have a document with this field value "Dr. Max Muster". if i search for "dr" i get a result. if i search for "dr. max" i don't get a result. if i remove the wildcard and type "dr. max" i will get an result. i also tryed it like this notesdocumentcollection.ftsearch('*' + searchword + '*'); Is there any way to get an result with wildcards and special characters in the

Sending formatted Lotus Notes rich text email from Excel VBA

扶醉桌前 提交于 2019-12-25 04:39:20
问题 While trying to use the hints in your answer at Sending formatted Lotus Notes rich text email from Excel VBA I could do almost everything I needed: write multiple lines with data from a database of mine, formatting the body by mean of html code, with links and formatted text. I also need to put an image in the mail body, but the html code "img src="etc. does not work, maybe because the image is located on my pc and is not reached by the recipients. I need to find a way to embed the image just

“Out of Memory” error in Lotus Notes automation from VBA

老子叫甜甜 提交于 2019-12-25 04:19:24
问题 This VBA function sporadically fails with a Notes automation error "Run-Time Error '7' Out of Memory". Naturally, when I try to manually reproduce it, everything runs fine. Function ToGMT(ByVal X As Date) As Date Static NtSession As NotesSession If NtSession Is Nothing Then Set NtSession = New NotesSession NtSession.Initialize End If (do stuff) End function To put this in context, this VBA function is being called by an Access query, 3-4 times per record, with 20,000 records. For performance

How to authorize Lotus Notes database by C++ API?

安稳与你 提交于 2019-12-25 04:17:37
问题 I run following code and get dialog box for entering password. LNNotesSession session; LNDatabase db; LNSetThrowAllErrors(TRUE); LNFormArray forms; LNIDFile idfile; LNCertifier cert; LNDatetime expired; try { session.Init(); session.GetDatabase("names.nsf", &db, "ipanema"); db.Open(); db.GetForms(&forms); for (int i = 0; i < forms.GetCount(); i++) { LNForm form = forms[i]; form.Open(); LNString name = form.GetName(); form.Close(); } db.Close(); session.Term(); } catch(LNSTATUS error) { char

How do I generate the unique number in replication copy? [duplicate]

别等时光非礼了梦想. 提交于 2019-12-25 04:06:45
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to create an auto incrementing field in lotus domino? We are generating the unique sequence number for each document like an employee ID. But user can enroll the information in different locations. So we replicate the database into many. Problem is, Number is generating. But the sequence number gets duplicated when the user works on different replicas. 回答1: If you must use sequential numbers, you should have

Search document in lotus notes

你。 提交于 2019-12-25 02:57:32
问题 I can't solve the problem with searching documents in lotus notes. I have a form SearchForm where placed a some fields (like date_from , date_to , document_title etc.) and button 'Run search'. I have a view 'SearchView' where I want to display the search results. When user enter the search criteria and click Run search button I want to display the SearchView with documents. But I don't how to write click handler of button Run search . Also I prefer to use Formula language to perform this

XPages RichText Links

我的梦境 提交于 2019-12-25 02:20:04
问题 I have an XPage to display document data. To display RichText data I added a RichText control. What I found out is that database / view / document links are displayed with the appropriate icon but are converted to http-links. I would like to have these links being transformed to notes://-links to make sure that these links are being opened in the user's notes client rather than in the user's browser. Any suggestions how to accomplish this from a technical point of view? Many thanks in advance

What are all the fields available in a Notes email document in VBA

核能气质少年 提交于 2019-12-25 01:49:38
问题 I have written VBA code to send an email from a group mailbox. I set the principal field to say where the mail comes from. It almost works correctly, putting the message in the sent items of the group mailbox. Even though I have the group mailbox name in the Principal field, it still says it was sent my me. I discovered that whichever user looks at the message in sent items, it says it was sent by that user (it is a dynamic field). I want to set that From field, and I discovered I can do that

Lotus Notes Java API. Mail forwarding

丶灬走出姿态 提交于 2019-12-25 00:35:33
问题 I would like to forward emails from my Lotus Notes inbox to my gmail account. Lotus Notes rules and agents are disabled on our server, so I developed external application for that. I am using document.send method and mail successfully arrives to my gmail box. The only problem is that often the email also duplicated in my Lotus Notes inbox. I just found that the reason of that is "CC" and "BCC" fields, which I don't clean up, however, I am looking for the way to forward email as it is - which