lotus-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

JavaAgent in Lotus Notes 6.5 using axis api gives Exception “No implementation defined for org.apache.commons.logging.LogFactory”

柔情痞子 提交于 2019-11-28 06:16:36
问题 I needed to write a JavaAgent in a Lotus Notes 6.5 DB to access a web service. I used Axis Apache API for this purpose. I created A Java agent and added the jar files of axis in the agent by using Edit Project button. Below is the agent code: import lotus.domino.*; import javax.xml.*; import org.apache.axis.client.Call; import org.apache.axis.client.Service; import javax.xml.namespace.QName; import java.net.URL; public class JavaAgent extends AgentBase { public void NotesMain() { try {

How to create an auto incrementing field in lotus domino?

二次信任 提交于 2019-11-28 02:14:19
I have an application in lotus domino with a field UNIDID -number(computed)... I want that every time a new entry is created, this field to increment by 1 and the new value should be stored in new record document.. I have a @dbcolumn formula which will get me the last entry in the UNIDID field- mFind:=@DbColumn("" : "NoCache" ; @DbName ; "lkpEmpMasterbyOnlyUnidCode";1); How do I increment mFind and submit it in form of ' UNIDXXXX '? Employ document locking to assure number uniqueness in sequential document numbering solution To answer your specific question: lastEntry := @Subset(mFind;-1);

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,