lotusscript

Cannot instanciate a NotesUIWorkspace from VBA (Word)

守給你的承諾、 提交于 2019-11-29 17:33:12
The source situation: I have an Notes Application which uses MS Office 2000 under Windows XP. The new situation has to be MS Office 2010 under Windows 7. IBM Notes is 8.5.3FP3. The old one uses a VBA template to communicate with Notes which works properly. At one time a Notes.NotesUiWorkSpace object is created to open a document, navigate to a richtext item, select all the content (formatted) and copy to the clipboard. Then the clipboard content ist pasted into the Word document via VBA. That works fine. The same code in the second environment doesn't work anymore. I noticed that the Notes

Changing Sent By in Mail Document in Lotus Notes

百般思念 提交于 2019-11-28 13:08:28
I would like to also change the field "sent by" (displaying when there is a mailDoc.Principal) in the mail being sent by a triggered agent created in lotus script. Is it possible to change it I already tried the following codes mailDoc.SentBy = strFrom mailDoc.tmpDisplaySentBy = strFrom mailDoc.FROM = strFrom mailDoc.SendFrom = strFrom Still I couldn't change that part.. Is it possible or is there some limitation?.. Thanks You can't change it. The server puts always the current username into field Principal/From. But there is a workaround: instead of sending the mail save the mail document

Cannot instanciate a NotesUIWorkspace from VBA (Word)

扶醉桌前 提交于 2019-11-28 12:59:45
问题 The source situation: I have an Notes Application which uses MS Office 2000 under Windows XP. The new situation has to be MS Office 2010 under Windows 7. IBM Notes is 8.5.3FP3. The old one uses a VBA template to communicate with Notes which works properly. At one time a Notes.NotesUiWorkSpace object is created to open a document, navigate to a richtext item, select all the content (formatted) and copy to the clipboard. Then the clipboard content ist pasted into the Word document via VBA. That

How to export Rich Text fields as HTML from Notes with LotusScript?

拜拜、爱过 提交于 2019-11-27 20:56:13
I'm working on a data migration task, where I have to export a somewhat large Lotus Notes application into a blogging platform. My first task was to export the articles from Lotus Notes into CSV files. I created a Agent in LotusScript to export the data into CSV files. I use a modified version of this IBM DeveloperWorks forum post . And it basically does the job. But the contents of the Rich Text field is stripped of any formatting. And this is not what I want, I want the Rich Text field rendered as HTML. The documentation for the GetItemValue method explicitly states that the text is rendered

Lotusscript: From address when sending email as web user

爷,独闯天下 提交于 2019-11-27 06:23:00
问题 I have a lotus-script agent which runs as Web User since I need to know who the current user is and process information accordingly. The problem is that when sending a email in this agent the From email address shows the web user email address rather than the one I have defined. I am setting the following fields before I send the email (as mime): mailDoc.Form = "Memo" mailDoc.Subject = strSubject mailDoc.InetSendTo = strFrom mailDoc.PostedDate = Now mailDoc.Principal = strFrom mailDoc.FROM =

How to export Rich Text fields as HTML from Notes with LotusScript?

冷暖自知 提交于 2019-11-26 22:59:37
问题 I'm working on a data migration task, where I have to export a somewhat large Lotus Notes application into a blogging platform. My first task was to export the articles from Lotus Notes into CSV files. I created a Agent in LotusScript to export the data into CSV files. I use a modified version of this IBM DeveloperWorks forum post. And it basically does the job. But the contents of the Rich Text field is stripped of any formatting. And this is not what I want, I want the Rich Text field

Sending formatted Lotus Notes rich text email from Excel VBA

大憨熊 提交于 2019-11-26 19:02:44
I have little Lotus Script or Notes/Domino knowledge but I have a procedure, copied from somewhere a long time ago, that allows me to email through Notes from VBA. I normally only use this for internal notifications where the formatting hasn't really mattered. I now want to use this to send external emails to a client, and corporate types would rather the email complied with our style guide (a sans-serif typeface basically). I was about to tell them that the code only works with plain text, but then I noticed that the routine does reference some sort of CREATERICHTEXTITEM object. Does this

Sending formatted Lotus Notes rich text email from Excel VBA

蓝咒 提交于 2019-11-26 06:45:02
问题 I have little Lotus Script or Notes/Domino knowledge but I have a procedure, copied from somewhere a long time ago, that allows me to email through Notes from VBA. I normally only use this for internal notifications where the formatting hasn\'t really mattered. I now want to use this to send external emails to a client, and corporate types would rather the email complied with our style guide (a sans-serif typeface basically). I was about to tell them that the code only works with plain text,