lotus-notes

Error 500 in each xpage

删除回忆录丶 提交于 2019-12-24 07:58:01
问题 I am facing a strange error in xpages. Whenever i preview any xpage in internet explorer I get error 500. I've tried this with new nsf, I created only one blank xpage with no elements and tried to preview, I got the same error. I've also checked the "Display Xpages runtime error page" in xpages tab in Application Properties section but got the same 500 error. (I am working on my local machine) Url of my xpage: http://localhost/test/testdb.nsf/testxpage.xsp For every preview attempt log.nsf

Retrieving inline images from Lotus notes using lotusscript

大憨熊 提交于 2019-12-24 07:37:15
问题 I have some NotesDocument where some RichText fields have both text and inline images. I can get text part of that items but can't retrieve inline images using lotusscript. Could any one please suggest me a way to retrieve inline images from that documents. LotusScript code: Sub Click(Source As Button) Dim session As New NotesSession Dim db As NotesDatabase Dim mainDoc As NotesDocument Dim v As NotesView Set db = session.CurrentDatabase Dim fileName As String Dim fileNum As Integer fileNum% =

Lotus Notes Scheduled agent failed to open database in different server

大憨熊 提交于 2019-12-24 04:58:11
问题 I have a database in server 1 which refers to multiple databases in server 2 for record validation purposes. When the scheduled agent runs, it encounters an "Object Variable not set" error. However, when I tried to manually run the agent (Right click agent name, click Run) it runs smoothly without error. I simulated the database setup in 2 virtual servers and was able to reproduce the error. Line by line debugging shows that the error occurred when it tries to open the database in the other

How to add external third party jar in Notes Xpages application?

怎甘沉沦 提交于 2019-12-24 04:56:49
问题 I am Java developer, recently working on Xpages project. we are using Notes 9.0.1. I created Java agent to send email and I want to use some third party jar, something like org.apache.commons.lang3 , end up this issue. how to add third party jar, like commons-lang3-3.4.jar, in my Xpages project? I tried different ways add jar under /jvm/lib/ext folder, restart DDE.the I can see it in my project JRE system libray, but could not import in my Java code. Maybe this is the way for server

Generating custom-form documents from base-form plus XML?

谁说胖子不能爱 提交于 2019-12-24 04:24:09
问题 this is my first stack overflow, and it's a complex one. Sorry. My task is to generate custom documents from a basic template plus some XML without having a custom form design element for each case. Here's the whole picture : We are building a Lotus Notes (client, not web) application for world-wide application access control; the scope is something like 400.000 users being able to request access to any of 1000+ applications. Each application needs its own request form -- different number of

Lotus Notes Rich Text Field Elements including document links

只谈情不闲聊 提交于 2019-12-24 03:33:02
问题 I got a problem regarding a computed subform: I want to read out everything that is below Ganzer Verlauf . This includes the date, Name (blacked out in this case) and the link to the attachment. The subform looks like this: contacthistory is the field name that I want to read out. The name of the main form is In_Bewerbung , the name of the subform is Meta_Contacthistory . I am creating a view that ultimately exports this as XML. My selection in the view is: SELECT (Form = "In_Bewerbung") & !

xpages error when trying to access edit mode in client notes

无人久伴 提交于 2019-12-24 03:16:26
问题 I'm trying to open some doc. from a viewPanel inside the client notes. The application also runs on web. When I open the doc. in read mode, and then click the Edit button: <xp:button value=" Editare" id="buttonEdit" rendered="#{javascript:!currentDocument.isEditable()}" > <xp:eventHandler event="onclick" submit="true" refreshMode="complete"> <xp:this.action> <xp:changeDocumentMode mode="edit" var="Contr"></xp:changeDocumentMode> </xp:this.action> </xp:eventHandler> </xp:button> I get the

Invoking a Javascript from Lotus Notes on click of a button

橙三吉。 提交于 2019-12-24 02:38:13
问题 I am building a Proof Of Concept for a component that was earlier built in vb6. Since the component has complex UI elements, I am not really sure how far i can reproduce the same thing with Lotus Notes UI elements. What I am now currently looking to do is the following. Create a Button in an exist LN form. When the button is clicked it invokes a javascript which will create a template (or load the htm dynamically) htm page with the necessary interface elements. Use jQuery or Dojo to Ajaxify

can anyone please tell how to deal with inline images in lotus notes

梦想的初衷 提交于 2019-12-24 02:12:25
问题 Hi guys i am working on sending an email in lotus notes through java.I am able to send an email.For external attachments i am constructing an rich text item.but i am not getting how to deal with inline attachments such as an image inside a mail body part. Here is the code i am using.thanks Document doc = null; RichTextItem rti = null; try{ doc = db.createDocument(); doc.replaceItemValue(ServiceConstants.FROM,getFrom() ); doc.replaceItemValue(ServiceConstants.FORM, getForm()); doc

passing LotusScript parameter to Java

瘦欲@ 提交于 2019-12-24 01:43:32
问题 I am calling a a java getHTML( urlToRead ) class from LotusScript (thank you, Matt Holthe), which uses a CONST to pass the URL. The java code sits in a java "script-library". When I change the constant urlToRead to a variable, the java class does not read the variable and I get an empty response. Do I need to use in-memory documents, or is there an easier way? I need to get a return json value so a "call" does not work unless I'm using in-memory documents, which I am trying to avoid. I am