lotus-notes

Sending Lotus Notes email through C# hiding SentBy field

筅森魡賤 提交于 2019-12-12 02:13:04
问题 I have developed code,in C#, which sends email in Lotus Notes. I want SentBy(From field) in the email to be hidden. I have user the Principal field to make Custom field. NotesDocument doc = db.CreateDocument(); doc.ReplaceItemValue("Form", "Memo"); doc.ReplaceItemValue("SendTo", richTextBox1.Text.Trim().Split(',')); doc.ReplaceItemValue("Subject", richTextBox3.Text); doc.ReplaceItemValue("Principal", "Test Demo"); NotesRichTextItem _richTextItem = doc.CreateRichTextItem("Body"); _richTextItem

Lotus Notes: Not allowed to access System Properties file

我们两清 提交于 2019-12-12 02:08:59
问题 I added this code to load the system properties file in Java Agent but i am getting error as allowed to access system properties. I want to load the abcd properties file which is in Windows server in C drive From there properties file is going to be picked from the code. inp = new FileInputStream("/abcd.properties"); if(inp== null) { System.out.println("FIND NOT FOUND!!!!!!!!!!!"); } else{ System.out.println("FIND FOUND"); } p.load(inp); System.out.println(p.getProperty("flag")); I tried

Xpages: TypeAhead with Twitter Bootstrap - Loading a SSJS Array into the value list

随声附和 提交于 2019-12-12 02:04:23
问题 i was trying to add BootsTrap Typeahead to one of my Xpages. So i imported all the Bootstrap stuff to my application. When i put the values "hardcoded" into the list, it works perfectly. But i created an array of "Values" in a SSJS Library. Can you tell me how i can put that array from the SSJS Lib to the value list of typeahead? <xp:inputText id="inputText1" styleClass="typeahead"></xp:inputText> <script> var value = ['test', 'birthday'] $('.typeahead').typeahead({source: value }); </script>

lotus notes, search data that equal to textbox

怎甘沉沦 提交于 2019-12-12 01:59:49
问题 I don't understand why my code is not allowed. @If(@DbLookup("":"nocache";@DbName;"GPA";1)="GPnum";@Failure(@Command([FileSave])&@Command([CloseWindow]));@Success)` Please help me. Thank you. 回答1: @If(@DbLookup("":"nocache";@DbName;"GPA";1)="GPnum" your code should have 1 more parameter. from help @DbLookup( class : cache ; server : database ; view ; key ; fieldName ; keywords ) So you have "GPA" as view and then you need to specify Key and field/column you wish to return. Also for DbLookup I

CKEditor not working after server upgrade

这一生的挚爱 提交于 2019-12-12 01:49:25
问题 After server upgrade from Domino 8.5.3 to 9.0.1FP2, the CKEditor in one of our applications stopped working but only on a few PC's. Some users see the full CKEditor in that appliacation some users don't. All of them have the same browsers (Firefox and IE) in the same versions. Those, who does not see that CKEditor, see only a simple TextArea on it's place. Has anybody any idea, where could be a problem? Thanks, JiKra 回答1: You need to refresh the browser cache in order for the updated CKEditor

LotusNotes 8.5 - Adding a row to a table with a button

旧城冷巷雨未停 提交于 2019-12-12 01:14:21
问题 I am an intern and learning LotusNotes currently, so am not very fluent with it yet. My question is, how can I program an action button to add a row to an existing table in LotusNotes 8.5? I have tried the following code, but it has not worked for me, Sub Click(Source As Button) Dim uiw As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = uiw.CurrentDocument Dim doc As NotesDocument Set doc = uidoc.Document Dim Body As NotesRichTextItem Set body = doc.GetFirstItem("Body") If body

Order by in Lotus Notes formula

别来无恙 提交于 2019-12-12 01:13:03
问题 Is is possible to query those documents from a Lotus Domino database which have bigger universal ID than a given number/ID and order them by their universal ID with a Lotus formula query? If yes, how? In SQL the following is similar to what I'd like to: SELECT universalId FROM all_documents WHERE universalId > custom_value ORDER BY universalId 回答1: Yes: SELECT @Text(@DocumentUniqueId) > custom_value This will work in a view selection formula. If you also make the formula for the first column

How to hook the 'send' button in lotus notes client

和自甴很熟 提交于 2019-12-12 00:32:52
问题 Due to some reasons, I'm not allowed to touch Domino server but would like to make my plugin be able to modify email content right before it's being sent in client side. All comes up in my mind is to add a listener or somehow to hook the 'send' button of a message, which holds on when being clicked and runs my codes, and then sends the message. Is there anyone knowing about this trick, or any other way to meet the same purpose? Thanks. BTW: I'm using Lotus Toolkit in Java. Update: I found a

Convert Active Directory DistinguishedName to Domino Name

纵然是瞬间 提交于 2019-12-11 23:55:39
问题 We are integrating our lotus notes applications with Active Directory for authentication and mailing. Authentication works fine and once logged it return the name in the below format CN=Arumugam, Barath/OU=Users/OU=Region - North America/DC=mhf/DC=mhc However there is no attribute in active directory which matches the above format. The closest match is attribute called distinguishedName. It is in below format. CN=Arumugam\, Barath,OU=Users,OU=Region - North America,DC=mhf,DC=mhc Is there a

Running java agents in lotus notes

吃可爱长大的小学妹 提交于 2019-12-11 20:11:40
问题 Hi I am using lotus notes 8.5 and in view -> Agents i created a new Agent and selected java language and tried to test the basic running of the Agent. import lotus.domino.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); System.out.println("Sample Test of Lotus Notes Agent!"); } catch(Exception e) { e.printStackTrace(); } } } so basically the above code must print in the java