lotus-notes

Exporting Lotus Notes document to CSV & Excel Files

旧巷老猫 提交于 2019-12-11 19:19:42
问题 Can Anyone suggest me which method (freefile or ole object creation) is Efficient to export lotus notes documents to CSV and Excel files? 回答1: i used formula as well to export as csv & excel. @Command([FileExport]; "Comma Separated Value"; "c:\text.csv") 回答2: Efficient? Use a NotesDXLExporter to export to DXL/XML. See link. Easy? Select the document in a view and use File/Export, Save as type: Comma Separated Value. You can prepare your own view with the data you need exported. 回答3: i got the

Lotus Notes: Displaying Image attachment on a document

拟墨画扇 提交于 2019-12-11 19:15:38
问题 I have a field (Rich Text), that holds the value of an image attachment, but it only display the image path and filename, not as an image display. Am I using the wrong field or there's a problem in my line of code to attach the image? The code to attach is right below: chqRSIDoc.photodoc = workspace.Openfiledialog(True, "Select a file to attach as photo: ", "", "c:\") Appreciate all the help. Thanks! 回答1: The openFileDialog returns just a string array. see http://www.ibm.com/support

Lotus Notes — Jquery File in Header

只愿长相守 提交于 2019-12-11 17:44:32
问题 I Included the jQuery files as file resource in my notes database Problem: I cant figure out how do I refer to these files in my form in which I am trying to use jquery in. I tried this in the HTMLHeader: <script type='text/javascript' src='/jquery-min.js'></script> <script type='text/javascript' src='/" + @WebDbName + "/jquery-min.js'></script> 回答1: First, you need to put the formula in a hidden, computed for display field named $$HTMLHead ; notice the two dollar signs. Formula in the field

Why I can't use two JSON libraries at the same time in LS

大城市里の小女人 提交于 2019-12-11 17:32:30
问题 I need to use JSON in my Notes project. I've downloaded a library for it here https://openntf.org/main.nsf/project.xsp?r=project/JSON%20LotusScript%20Classes. I get a JSON String from back-end side, do some manipulations with JSON And later I need to parse it back into a String. But unfortunately, I can use either JSONReader or JSONWrapperConverters script. Cannot use both for some really stupid reason. It gives me the following error. So I am able either to parse a string using JSONReader or

Agent does not set “From” in header

非 Y 不嫁゛ 提交于 2019-12-11 16:18:04
问题 We have a mail agent which generates a basic mail and sends it to an mailaddress. Dim s As New NotesSession Dim maildoc As NotesDocument Dim db As NotesDatabase Set db = s.Currentdatabase Set maildoc = New NotesDocument(db) maildoc.Form = "Memo" maildoc.SendTo = "test123@web.de" maildoc.Subject = "Test" Call maildoc.replaceitemvalue("Principal","testFrom@anydomain.de") Call maildoc.replaceitemvalue("AltFrom","testFrom@anydomain.de") Call maildoc.replaceitemvalue("InetPrincipal","testFrom

VBA to send email via Lotus Notes 6.5 with Attachment

柔情痞子 提交于 2019-12-11 16:11:19
问题 I have big problem. I have macro to send multiple emails from Excel via Lotus Notes 6.5 The code of my macro is: Public Function SendNotesMail() 'This public sub will send a mail and attachment if neccessary to the recipient including the body text. 'Requires that notes client is installed on the system. 'Set up the objects required for Automation into lotus notes Dim Subject As String Dim Attachment As String Dim Recipient As String Dim BodyText As String Dim SaveIt As Boolean Dim Maildb As

If else not read properly after changes made to any document

无人久伴 提交于 2019-12-11 16:07:35
问题 I have a button in a form where I'm using If else to check whether in list of document in view, "IF" any document with status "Lock", I will prompt messagebox "Complete PC Inspection First!". So At first, after the button is click, and code run and everything is working. Then I try to click the button again without made any changes it will prompt the messagebox. But when I made a changes in any document and change status to others such as "Active", and I go back to the form and click the

Prevent button to execute if field is empty and “status” still in the database

人走茶凉 提交于 2019-12-11 15:46:43
问题 I have form with some field in it and a button to be execute. What I want to do is, when any of field is empty, the button cannot be executed. That means, I cannot proceed the button procees when the field is not completed. How can I prevent the button to be execute if field empty? Any help will be appreciated. Thanks! **Update Question** I will add some more information to my problem. For now, I'm try to prevent using If doc.PStatus(0) = "Lock" Then Msgbox "Complete PC Inspection first!"

View will show all list updated form every time changes made

和自甴很熟 提交于 2019-12-11 14:59:08
问题 I'm new with lotus notes. Basically, I have a form. I want to create a situation where when I edit the form, that form will not be overwritten but it will automatically create a new form with an updated form. But when I open the new updated form, we can see all list of history from the old form. I can't think of any way to create it. Any suggestion would help me. Thanks! 回答1: First of all: you need to know the difference between FORM and DOCUMENT. The FORM is the design element in designer

Attachment download from view

寵の児 提交于 2019-12-11 14:55:23
问题 Is there a way to list all documents in a view control (or a repeat control) and have a download button / link that will allow the user to download multiple attachments that reside in a rich text field? I have found options using the @AttachmentName, however this lists all attachments on the document and does not restrict the attachments to just one the RTF. I have a work around using a dialog box, which does work well, just not as clean as the option I was looking for. 回答1: In a view you can