lotus-domino

HTTP JVM Error - Unable to get document page name

╄→гoц情女王★ 提交于 2019-12-24 23:40:30
问题 Xpage Application - In the domino server log, I am getting the error as HTTP JVM: com.ibm.xsp.webapp.FacesServlet$ExtendedServletException: com.ibm.xsp.FacesExceptionEx: Unable to get document page name for 7EC37B533FC6F7CE65257BDE0038ECDC What may be the reason behind of this error? Thanks in advance 回答1: Open the Form design element associated with the document in question, and bring up the Form Properties infobox. On the second tab, set the "Display XPage instead" option to the page that

XPages: Get the contents of a - this._partialRefresh AJAX call?

别等时光非礼了梦想. 提交于 2019-12-24 23:29:01
问题 I'm doing a partialrefresh of an XPage (Domino 8.5.1) but need to get the contents of the response. The reason is that IE8 seems to (sometimes) have an issue with partial refreshed HTML not showing. I can see that the response is correct but the DOM isn't updated. There's an easy fix for this: div.innerHTML = div.innerHTML But for me to apply this I need the content so I can insert it in the first place. So, is it possible to get the returned HTML from a partialRefresh? Or is there another

How can i write file ( pdf,txt,…) from NotesStream?

大兔子大兔子 提交于 2019-12-24 19:57:52
问题 I have a base64 encoded string. I want to decode it and burn out a file to pass on. I code this: Function DecodeBase64(attachmentValue As String,attachmentName As String) As String Dim result As String Dim s As New NotesSession Dim fileOut As String Dim fout As Integer Dim foutOpen As Integer Dim stream As NotesStream Dim dc As NotesDocumentCollection 'fout = Freefile fileOut = "C:\ExportFileLotus\" + attachmentName 'Open fileOut For Output As fout 'foutOpen = True Set db = s.CurrentDatabase

How to give public access to files under webcontent in lotus domino

拜拜、爱过 提交于 2019-12-24 15:49:34
问题 I have a domino application with XPages that i want to be public. So, i set in the ACL the "Default" to Depositor level with read public documents option, so as to make it public. When i want to use an image resource i go to its properties security tab and i enable the "available to public access users" checkbox. Now, I want to use font-awesome in my application and i have font-awesome's folder with its subfolders and files under webcontent folder. How can i make them public? (in a non-public

When generating HTML email using MIME, can attachments be displayed in the Lotus Notes email body?

坚强是说给别人听的谎言 提交于 2019-12-24 12:34:08
问题 I've created a html formatted email containing a table and want attachments to appear in rows in the table. I can't manage to get the attachments to appear in the body of the email at all, instead they come through (in our Lotus Notes 8.5.3 client) as attachments all grouped in the header under the attachment twistie. Is there any way for the attachments to display in the body of the email instead of the header? (Updated Jan 20, 2014) For reference, I looked for sample methods for adding

select statement in view selection

烂漫一生 提交于 2019-12-24 11:36:31
问题 I want to select only the documents that fulfill the following conditions (I put the statement into "View Selection" of the view's property). What I want to achieve is the following logic: If user has [roleA] SELECT(formA & status=1) if user has [roleB] SELECT(formA & status = 2) if user has [roleB] SELECT(formA & status = 3) Instead SELECT gets appened to the front and the statement does not work or does not give back the desired results.I have tried the following statement: SELECT @If(

(Xpages) SOA or Direct Database Access

北战南征 提交于 2019-12-24 10:59:18
问题 I'm currently doing an application usign Lotus Notes' XPages. I'm planning to use XPages(or Lotus Notes in general) as the front-end/UI/Design only (not a data storage), while an RDBMS (Oracle, MySQL) as the data storage. I found out that XPages currently doesn't support external RDBMS as data source. Based on my research, I have 2 options (or if you know of others, please put it in the comment section), either to so a SOA approach (where I will get my data using web services) or a direct

Adding logging in Lotus Notes form

回眸只為那壹抹淺笑 提交于 2019-12-24 08:19:35
问题 I want to add logging capabilities in my Lotus Notes application. Basically I want to be able to log who make the change, when the change is made, and what field(s) is/are changed in a document. What is the best way to do this? I am thinking to also add this at the end of each document so the user knows who make the changes. 回答1: I've done this before using LotusScript. It's a bit of a pain, but the basic idea is to: Create an array or new document object within the QueryOpen event, and store

Lotus Notes Domino Redirect

拜拜、爱过 提交于 2019-12-24 07:58:12
问题 I am trying to pass credentials via AJAX to a Domino Database to have it automatically login and return Data in JSON. Domino seems to chop off everthing after the "?ReadViewEntries" http://www.Server.com/daterbase.nsfopen&login&username=USERNAME&password=THEPASSWORD&RedirectTo=daterbase.nsf/JSONBookView?ReadViewEntries&count=500&RestrictToCategory=MYCATEGORY&outputformat=json"; Thanks in Advance! Mike 回答1: The RedirectTo query string argument needs to be URL Encoded so that the server sees

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