lotus-notes

How to launch an application from Lotus Notes, then later save into Lotus database?

纵然是瞬间 提交于 2020-01-04 07:00:46
问题 I work on a team that's developed a Java Swing application, and now I'm trying to help another team integrate this application into Lotus Notes. Unfortunately, I don't know that much about Notes, and can't seem to find any documentation related to what we're trying to do. What we want to do is have the user launch our application with some data passed in from Notes, have the user work with the passed in data, then when they are ready to save, the modified data is saved back into the Notes

Sending email with java Apache Commons Mail through Lotus Notes

て烟熏妆下的殇ゞ 提交于 2020-01-04 03:53:20
问题 I'm having trouble with my e-mail configuration for sending e-mails using lotus notes in a java program. I know this is pretty much straight forward but i guess i'm missing something. My code is as follows; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.commons.mail.EmailException; import org.apache.commons.mail.SimpleEmail; public class MailClass { public void SendMail() { SimpleEmail email = new SimpleEmail(); try { email.setHostName("mail.smtp.host");

Extracting attachments from lotus notes api using EmbeddedObject, Creating eo*tm file in system folder

巧了我就是萌 提交于 2020-01-04 01:53:08
问题 I am trying to extract attachments using EmbeddedObjects, I am able to extract attachments but create em*tm temp files in system temp folder. EmbeddedObject embeddedObject=document.getAttachment(attachmentName); InputStream inputStream=embeddedObject.getInputStream(); ..... ...... inputStream.close(); embeddedObject..recycle(); document..recycle(); After closing input Stream its not deleting temp file form system temp folder. Is it any thing wrong in my code or its setting issue with lotus

Share a LotusScript library between databases

不想你离开。 提交于 2020-01-03 18:39:01
问题 Is it possible to create a LotusScript library in one database and then access it from another database? Without simply copying the library into each database that needs to use it. What I would like to achieve is a single location where I can update the library and not have to manually copy it over to each database that is using it. I can't use a design template as the databases that use this script library all use different design templates. I guess another solution would be to create an

Share a LotusScript library between databases

好久不见. 提交于 2020-01-03 18:38:08
问题 Is it possible to create a LotusScript library in one database and then access it from another database? Without simply copying the library into each database that needs to use it. What I would like to achieve is a single location where I can update the library and not have to manually copy it over to each database that is using it. I can't use a design template as the databases that use this script library all use different design templates. I guess another solution would be to create an

Invoking method on a Java class from lotus script (LS2J)

徘徊边缘 提交于 2020-01-03 10:05:11
问题 Most dignified developers, I'm having trouble invoking a method on my own java class from a lotus script agent. My Java class simplified looks like this import lotus.domino.*; public class MyClass{ /* .. omitted constructor and other methods .. */ public void myMethod(Document doc){ /* ... do things with the document object ...*/ } } Now this class is included with the proper use statement, and I can iterate over the classmethods on the class object in lotus script to get the signature of the

XPages: Bootstrap Validator

假装没事ソ 提交于 2020-01-03 02:26:13
问题 i was trying to build a Xpage with a Bootstrap Validator (http://bootstrapvalidator.com/examples/mask/) to validate an IP-Adress <?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core" id="testid"> <xp:this.resources> <xp:styleSheet href="/bootstrap.css"></xp:styleSheet> <xp:styleSheet href="/bootstrapValidator.min.css"></xp:styleSheet> <xp:script src="/jquery-1.11.1.js" clientSide="true"></xp:script> <xp:script src="/bootstrap.min.js" clientSide="true"></xp

Use Quartz Scheduler in IBM Domino Application

懵懂的女人 提交于 2020-01-03 01:31:08
问题 I'm very new to Quartz, but know 3 simple things which you have to have in order to make it work. These are jobs, triggers and scheduler. Now, in our domino application we have to use it for refreshing a token. I've created 3 basic classes for it. The job: public class RefreshEGRZTokenJob implements Job { public void execute(JobExecutionContext arg0) throws JobExecutionException { System.out.println("stub for refreshing a token"); } } The trigger and something like main : public class

Powershell and Lotus Notes - How to extract user names with employees numbers?

女生的网名这么多〃 提交于 2020-01-03 00:41:23
问题 I have specific problem. I need to extract domain names from active directory and combine them with employees numbers which are in Lotus Notes. I get the domain names with Get-QADUser (snapin from quest.com), that was no problem, but how to get the employees numbers and combine them? Thank you Edit(18.5. 11:56): Now I'm using this script (posted by Christian) and I figured out how to get the name of LN database - right-click on DB in Lotus notes workspace, then application/properties. #

Lotus Domino Designer: Add a button in the default calendar

。_饼干妹妹 提交于 2020-01-02 23:06:48
问题 I need to add a button to the calendar by default. This button is a http link. Like this: Any idea ? I begin with Lotus Domino Designer. 回答1: Locate the view you are seeing in the designer, and add an Action button to the action bar. To have the action open an url, make it a "Formla" action and use the @URLOpen formula @URLOpen("http://www.stackoverflow.com") 来源: https://stackoverflow.com/questions/7982384/lotus-domino-designer-add-a-button-in-the-default-calendar