lotus-domino

how to save form values to DB in domino designer by Lotus Script

心已入冬 提交于 2019-12-08 03:30:52
问题 I am new to Domino designer and lotus script, following my first question 1) How can I save form values to DB 2)How can I view DB( like MS access) 3) How to create view to retrieve values from DB Googled for it but found a link to save to db solution. I tried Sub Click(Source As Button) Dim myText As String Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Dim doc As NotesDocument Dim enteredText As String Dim session As New NotesSession Dim db As NotesDatabase Set db =

How to send email in lotus notes using PHP

a 夏天 提交于 2019-12-08 03:11:41
问题 Need to send email using PHP via lotus notes. Notes is configured on my system. So just wanted if I could send email using PHP. Can anybody help with the code and configuration that I am supposed to do? After reading replies from all of you, I tried to nail down things from my end. I could at least move one step ahead with all your help. I could figure out my mail server using GetEnvironmentString and its damn correct as also reflected in my lotus notes work space. But when I am trying to use

How do I delete selected documents in a XPage Dynamic View Panel

ε祈祈猫儿з 提交于 2019-12-08 01:55:03
问题 I created a Dynamic View Panel. I have check boxes on. I have called this "dynamicViewPanel1" and I have set the Data Source name to "dViewData" So far so good, everything works fine. Now I created a button called "Delete" and set it to a simple action of delete selected documents and set the view control to "dViewData". When I select one or more documents and click delete I get the following error. javax.faces.FacesException: Unable to find target view control dViewData. I take it because

Write contents of InputStream to a RichTextItem and attach to a Notes document in Java

你离开我真会死。 提交于 2019-12-08 01:44:43
问题 I am able to attach a file to RichTextItem of a domino document that I receive as an InputStream . Below is the code snippet: attachDocument(InputStream is){ ..... File attFile = saveInputStr(is); Document attdoc = testdb.createDocument(); attDoc.replaceItemValue("Form", "formAttachment"); RichTextItem rti = (RichTextItem) attDoc.getFirstItem("attachment"); rti.embedObject(EmbeddedObject.EMBED_ATTACHMENT, "", attFile .getPath(), attFile .getName()); ..... } This works fine. But what if I don

How to send email in lotus notes using PHP

∥☆過路亽.° 提交于 2019-12-07 16:45:25
Need to send email using PHP via lotus notes. Notes is configured on my system. So just wanted if I could send email using PHP. Can anybody help with the code and configuration that I am supposed to do? After reading replies from all of you, I tried to nail down things from my end. I could at least move one step ahead with all your help. I could figure out my mail server using GetEnvironmentString and its damn correct as also reflected in my lotus notes work space. But when I am trying to use the below code it just keeps on loading and finally returning nothing - <?php require_once "Mail.php";

How do I setup CORS on Lotus Domino?

人走茶凉 提交于 2019-12-07 16:29:42
问题 I'm attempting to communicate with Domino via REST via a cross domain request, but I'm encountering an issue. I've setup an Internet Site document with the IP Address, localhost and a server name listed as the host names. The internet site is working as a redirect rule I've setup on that internet site is working. I've also setup a Web Site Rule with the following: Now when I attempt to hit the rest.xsp page via an html GET request I'm getting this error: XMLHttpRequest cannot load http://192

Get Domino server session timeout - XPages

一笑奈何 提交于 2019-12-07 15:53:39
问题 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 回答1: 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

XPages cluster and state variables

浪尽此生 提交于 2019-12-07 15:38:07
问题 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

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

一个人想着一个人 提交于 2019-12-07 15:38:05
问题 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. 回答1: 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

Calendar integration to Domino (Lotus Notes)?

为君一笑 提交于 2019-12-07 12:05:02
问题 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