lotus-domino

Getting SSLHandshakeException when using Dropbox Java SDK for API v2

♀尐吖头ヾ 提交于 2019-12-04 06:43:54
问题 In a XPages application I want to make use of the Dropbox Java SDK (2.1.2) for API v2 to get information about my Dropbox account. The following code is used to retrieve the corresponding account object: String atoken = "****"; DbxRequestConfig rc = new DbxRequestConfig("****"); DbxClientV2 client = new DbxClientV2(rc,atoken); DbxUserUsersRequests users = client.users(); FullAccount acc = users.getCurrentAccount(); // Exception raised here The last line raises the following exception: com

Domino REST POST not working for Appointment - Note Item not found

倾然丶 夕夏残阳落幕 提交于 2019-12-04 06:15:27
问题 I am writing a client side JS app and I am having some trouble with the REST interface to Domino server (version 8.5.3 with OSGi extension), the GET part works but I am having issues with the POST see code below. This creates a document in Domino/Notes when I click on it I get the follow messages Note Item not found tmpStartTime_Local : incorrect data type for operator or @Function Time/Date expected I then tried to fill in all the “tmp” time fields this can create a document but it is not

Call to getEmbeddedObjects(); (Domino Server API) returns wrong results

别等时光非礼了梦想. 提交于 2019-12-04 03:49:05
问题 The Domino server API getEmbeddedObjects(); returns the wrong result (zero) when a mail containing an attachment (as embedded object) is sent from the script. Though an attachment is sent as an EmbeddedOBject , getEmbeddedObjects(); returns ZERO . The mail type is NOT MIME . This is a Java application. Is there is any workaround for this problem? I take the body from the document. If the body is of richtextitem, I call the getEmbeddedObjects() which returns zero though an attachment is

Best practices for version control for Lotus Notes/Domino development

拈花ヽ惹草 提交于 2019-12-04 03:43:23
Please share how you do version control for Lotus Notes/Domino development. I want to put in our SVN repository all the scripts, views, custom forms, script libraries, etc. Semi-automated methods are accepted as well (i.e. if I find a way to get all the event scripts for a form in one file, and to be able to place it back in Notes Designer as a whole file). The openntf project Design Catalog can be used for version control. It uses dxl technique mentioned by kerr. www.openntf.org/projects/pmt.nsf/ProjectLookup/DesignCatalog At lotusphere the lotus911 people mentioned they used the Design

Way to check is an user a document author?

随声附和 提交于 2019-12-04 03:33:14
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 fields - multiple usernames and groups with current username? Any help will be appreciated. You can use

Source Control in Lotus Domino Designer

烂漫一生 提交于 2019-12-03 18:03:41
We have been using Domino on a large project for years without any real source-control (other-than server backups). So, I was rather pleased when I noted the latest Designer 8.5.3 has potential integration with SVN. I was unable get SVN working just by following the original instructions for as already noted on Stackoverflow the update sites have moved. The solution posted on OpenNTF , only half worked, with Domino still croaking at GEF, Mylyn and some other missing plugins. After finding and installing them, I still do not seem to have source-control integration. What I have now is the

Lotus Notes Diff Tool

限于喜欢 提交于 2019-12-03 15:11:33
Is there any diff tool for Lotus Notes which allows to compare scripts, design elements and documents? If all else fails (and by "all else" I mean the often ridiculous corporate procurement system) you can always do a an export to DXL (or a Design Synopsis for code alone) and use any decent text editor with a diff function. It's not TeamStudio Delta, but it will get you where you want to go. I see this is an old question, and most of the other answers are a little outdated now, so I thought I would add some hopefully valuable information for those who should stumble upon this now. In Domino

Axis 1.4 log4j-1.2.8.jar incompatible with XPages?

两盒软妹~` 提交于 2019-12-02 18:13:31
问题 I'm trying to add some of the JARs from Apache Axis 1.4 into the WebContent/WEB-INF/lib directory. One of the JARs is log4j-1.2.8.jar . As soon as this JAR is added to the lib directory, all XPages in the NSF stop working. I just get an error 500 with the following message: "HTTP Web Server: Command Not Handled Exception". The following message is written to the error log: java.lang.RuntimeException: com.ibm.xsp.FacesExceptionEx: org.apache.commons.logging.LogConfigurationException: java.lang

@ReplaceSubstring doesn't display value as expected

为君一笑 提交于 2019-12-02 14:23:22
问题 I have this formula in one of the columns in my view in Lotus notes database. However, it does not change the value of the field "EmployeeName" in the view and still displays the original name. Example: Original value : Franco Martínez, José Ramó Expected output : Franco Martinez, Jose Ramo value1:="i"; value2:="e"; value3:="o"; optionList := value1:value2:value3; aliasList := "í":"é":"ó"; @ReplaceSubstring(@Text(EmployeeName); aliasList; optionList) 回答1: As the formula is absolutely correct,

Domino REST POST not working for Appointment - Note Item not found

六眼飞鱼酱① 提交于 2019-12-02 13:33:26
I am writing a client side JS app and I am having some trouble with the REST interface to Domino server (version 8.5.3 with OSGi extension), the GET part works but I am having issues with the POST see code below. This creates a document in Domino/Notes when I click on it I get the follow messages Note Item not found tmpStartTime_Local : incorrect data type for operator or @Function Time/Date expected I then tried to fill in all the “tmp” time fields this can create a document but it is not correct either. I also tried to use the “Notice” rather than appointment form again no good. When I open