lotus-domino

Get Domino server session timeout - XPages

喜欢而已 提交于 2019-12-06 02:14:05
How to get session timeout of Domino server in XPages-SSJS. I want to prompt user to save his/her data before session expires. Thanks Servers only communicate with users when those users make a request to the server. Because of this, servers cannot send information to the user if they haven't requested it. For example: A user requests a page from a server. The server sends that page back to the user, and creates a session for that user. The session is set to expire in 5 minutes. Those 5 minutes are up, and in the meantime the user hasn't requested any further pages. So the users session ends,

XPages cluster and state variables

故事扮演 提交于 2019-12-05 23:21:55
We are about to make another server for XPages applications. In front of it there will be fail over/load balance component (Microsoft Forefront, IBM Web server) that will redirect HTTP request to one of two cluster servers. I suppose that scoped variables will be reinitialized in case of fail over - user is redirected to other server which will initialize XPage from scratch (GET) or subset of data (POST). Anything binded to beans/scoped variables will be lost (pager state, application specific data). This can cause odd behaviour to users: loss of entered data or opening of unexpected page. I

How can I export a list of databases resident on a given Domino server?

社会主义新天地 提交于 2019-12-05 21:30:55
I have a Lotus Domino server with a truly astounding number of Domino databases on it, arranged in various folders. Is there some means of exporting a list of all these databases, with their titles and creators' names, in a spreadsheet format of some kind? I have the Domino Admin and Domino Designer software, and I have or can get whatever access rights I'd need. You'd think there'd be a way in the Domino Admin, but there's no way to export the list. So, your best bet I think is to use the Domain Catalog database. To build it, go into the server configuration doc > Server Tasks > and turn on

Calendar integration to Domino (Lotus Notes)?

谁说我不能喝 提交于 2019-12-05 21:03:50
How do I integrate with a Lotus Notes Domino server? I know there are several versions and the answer would be different for each one, but advice on any version would be great at the moment as I haven't gotten the info on what server it is I'm supposed to integrate with yet. Assume version 6+. I'm assuming I need to do the integration with the server and not the local Lotus Notes client, but that might not be correct? I need to both read and write to the calendar appointments of a select number of users. For instance I should be able to create/update/delete a appointment for a certain user.

Way to check is an user a document author?

守給你的承諾、 提交于 2019-12-05 20:48:24
问题 Hello Domino programmers! I work on a lotus database + xpages and i ran into a following problem: I have Authors and Readers fields on document and both can contain users and groups. Both fields are set on XPage using NamePicker control. When document is saved i would like to hide an "Edit" button when user doesn't have rights to do so. Is there a way to just check on document, datasource or context - if current user is document author? Or i have to check it all way long, comparing Authors

How do I select all documents from the last 7 days?

北慕城南 提交于 2019-12-05 18:51:47
I have a view selection formula SELECT @If( @Date(@Now) = @Date(@Created); @All; @False) and I want it to select all documents from the past 7 days rather than just today's. Nick Fortescue SELECT @If( @Date(@Now) < @Date(@Adjust(@Created(), null, null, 7, null, null, null)); @All; @False) You need 2 parts. The view selection formula: SELECT isnotyet7daysOld = @True and an agent (or two) which run on schedule and on "when documents have been created or changed". The agent looks like this (both) minDate := @Adjust(@Today;0;0;-7;0;0;0); REM "There are no future documents"; tmpResult := @if

POI 4 XPages installation (site.xml)

核能气质少年 提交于 2019-12-04 21:15:55
I find this website ( http://poi4xpages.openntf.org/ ) for install POI 4 in domino designer. I download the zip file and follow the installation guide from https://my.webgate.biz/poi/documentation.nsf/viewdoc.xsp?docid=installguide In step 2: Import the update site from the ZIP file into the eclipse update site. I try to import the site.xml file but I get an error. The error is like this: Object variable not set(#91) dlgimportsite: click (line 9) I open site.xml and check line 9, the code is like this <category-def name="Apache POI Integration" label="Apache POI Integration"/> I don't know why

Is it possible to upload an image file using AJAX to Domino Server?

醉酒当歌 提交于 2019-12-04 18:05:57
Is it possible to upload an image file using AJAX to Domino Server? I am trying to upload a photo from Android phone. I can send the image data back to a rich text field in Domino. But I am not sure how to render it as an image on the Domino Form. Ideally I'd like to send the photo via ajax and have it attached to the Domino document as to a $File field. The only example that is even close is here: http://markwambler.blogspot.com/2009/10/webcam-snapshots-and-lotusdomino.html Thanks in advance. I have been struggling on this for days. So if you are able to send a Base64 encoded version to a

LotusScript cannot get file attachment from email

北慕城南 提交于 2019-12-04 15:39:57
I had never run into this problem, but I cannot get a handle on a file attachment on an email. I have code that can either search the document for Embedded Objects or search a field for Embedded Objects -- neither of them are returning the file. I can see the file on the email and I can see the $FILE field which contains the file attachment. Here is the code: Function FileDetachFiles(doc As NotesDocument, fieldName As String, getFromField As Integer) As Variant On Error Goto ProcessError Dim s As NotesSession Dim db As NotesDatabase Dim rtItem As NotesRichTextItem Dim fileToExtract As String

IMAP protocol support in different email servers

好久不见. 提交于 2019-12-04 14:56:43
Having to interact with several different email servers via IMAP (using javamail), I have found that there is a very different level of support for IMAP features among them. The lack of support of some features has resulted in more developing time, more complicated code to deal with different support, worse perforamance due to not being able to SEARCH etc. So I would like to get some info on other servers and what level of support they provide. So far I have dealt with Lotus Domino and Novell GroupWise (and to a lesser extend Exchange 2003 and 2007). I am particularly interested in most used