lotus-notes

Lotus Notes: Is it possible to create a view that excludes documents in all folders other than Inbox?

折月煮酒 提交于 2019-12-13 01:25:45
问题 I am aware that you can exclude certain folders - but you have to name them. I need a view to show only the documents in the inbox, that doesn't need updating everytime we create a new folder. Any help would be greatly appreciated! :) 回答1: It is not possible directly. There are no formulas that would help you build a select statement to get documents that are only in the Inbox. However, you could have an agent run on a scheduled basis (maybe every 5-10 minutes) that would update documents and

Lotus Notes - lotusscript: shell function: illegal function call

五迷三道 提交于 2019-12-13 01:19:52
问题 I have a problem: I want to run a file from lotusscript code: Dim result As Integer result = Shell("D:\testF.dsx", 1) And I get the following error: Illegal function call. If I want to execute it from formula it works: @Command([Execute]; "D:\\testF.dsx") Thanks a lot! 回答1: It is not possible to "Execute" a Textfile. usually there is no "run" function defined for dsx- files. You could do it like: Dim result as Integer result = Shell("notepad.exe D:\testF.dsx", 1) Or find out, which program is

Return from first column of a categorized view when using readers fields

微笑、不失礼 提交于 2019-12-13 00:47:34
问题 I have a Notes Categorized view of documents. Some of these documents have a Reader Field set. I'm building a 'view' of these documents in a series of nested Repeat Control. The first repeat is bound to a viewScope variable, called vsCat1 and I set vsCat1 in the AfterPageLoad event by opening the view and getColumnValue(0) which returns a list of the categorized data. The issue is that there is a category in the list that a particular user does not have Reader access to. So nothing displays

Extracting attachments from two rich text fields in a document

半城伤御伤魂 提交于 2019-12-13 00:37:21
问题 I am extracting attachments in a document to user's local machine using LotusScript. The document has two rich text fields Body1 and Body2 and many a times only one of them has an attachment in it. I am using the below code snippet: Dim doc As NotesDocument Dim richTextItem As NotesRichTextItem ..... ..... If doc.Hasembedded Then Set richTextItem = doc.Getfirstitem("Body1") ForAll o In richTextItem.Embeddedobjects Call o.ExtractFile(dirName + "\" + o.Name) End ForAll Set richTextItem = doc

ParameterDocID gets only 6 digit of my DocumentUniqueID

眉间皱痕 提交于 2019-12-13 00:26:30
问题 Im calling from my Javascript application a specific IBM Notes agent. The call from Javascript to Notes agent happens with a parameter. This parameter is the Universal ID. Unfortunately, my Agent gets only the 6 digit of my Universal ID (DocumentUniqueID). But I would like to have the full length of my UniversalID. What is missing, any idea? My Javascript: //more code before.... var UID = new String UID$ = doc.getUniversalID() // notes agent var notesAgent = db.getAgent("NameOfMyNotesAgent");

mailto lotus notes issue with mail toaddress

只谈情不闲聊 提交于 2019-12-12 22:15:14
问题 I was trying to set mailto in our website. I have written code like below <a href="mailto:mail.us.asc@gmail.com&subject=Profil%20anfordern&body=Guten Tag Herr Peter ManiIhr kundenfreundliches Angebot, mit einem einzigen Klick mehr über eine Bewerbung zu erfahren, nehme ich gerne an. Bitte senden Sie mir weitere Informationen zum Profil.Kand-Nr. 3055, PersonalleitungVielen Dank und freundliche Grüsse">mail us</a> When someone press the Link "mail us", in Lotus Notes the text appears directly

Make an email be interpreted as an event by mail clients

…衆ロ難τιáo~ 提交于 2019-12-12 19:18:45
问题 I'm trying to send an email that will be interpreted as an event by mail clients. This is related to another question of mine. This code pulls an event from a google calendar, and then builds a VEVENT out of it, converts that to a .ics blob and attatches it to an email. However when this is received by the mail client it treats it as an email with an attachment, but what I really want is for it to be treated as an event update. When I dissect an event email it contains two .ics files

Lotus Notes - open a file from Action Button

徘徊边缘 提交于 2019-12-12 18:26:41
问题 Is there any chance to open a file / document ( .pdf / .txt ) that is located in (for example ) the C drive: from an action button? I read about Shell function in LotusScript, in which you must specify the path. Are there any other solutions? 回答1: If you want to open a file like .pdf or .txt and this extension is connected in Windows with a program to open with then you need only to specify the filepath of your file. This would be the formula: @Command([Execute]; "C:\\temp\\myFile.pdf") and

Difference between two date/time fields - Lotus Notes

为君一笑 提交于 2019-12-12 15:27:41
问题 I have three editable date/time fields which the first two is (field1 and field2), style: Calendar/time control. Both of them are showing the time: hour and minutes, eg: 15:51. The third field also (editable) which I want to show the difference between field1 and field2. Eg: If field1 is 14:41 and field2 is 14:30, then field3 = 00:11. I've tried field1-field2 but isn't working. The form has automatic refresh fields property. Thanks! 回答1: Your third field needs to be computed, not editable. If

Iterating over every document in Lotus Domino

时光怂恿深爱的人放手 提交于 2019-12-12 13:13:42
问题 I'd like iterate over every document in a (probably big) Lotus Domino database and be able to continue it from the last one if the processing breaks (network connection error, application restart etc.). I don't have write access to the database. I'm looking for a way where I don't have to download those documents from the server which were already processed. So, I have to pass some starting information to the server which document should be the first in the (possibly restarted) processing. I