lotus-domino

Port 0 in DIIOP_IOR.TXT, how do I change it?

江枫思渺然 提交于 2019-12-12 02:19:07
问题 I am trying to login remotely into Domino with standalone Java program. I have ncso.jar (and TrustedCerts.class) in classpath. The DIIOP_IOR.TXT file is generated by the diiop task. If I copy the file contents directly into my program and try creating the session like this: String ior = "IOR:....." // 404 bytes Session session = NotesFactory.createSessionWithIOR(ior, "username", "password"); the result is: org.omg.CORBA.COMM_FAILURE: java.net.ConnectException: connect: Address is invalid on

Lotus Notes: Not allowed to access System Properties file

我们两清 提交于 2019-12-12 02:08:59
问题 I added this code to load the system properties file in Java Agent but i am getting error as allowed to access system properties. I want to load the abcd properties file which is in Windows server in C drive From there properties file is going to be picked from the code. inp = new FileInputStream("/abcd.properties"); if(inp== null) { System.out.println("FIND NOT FOUND!!!!!!!!!!!"); } else{ System.out.println("FIND FOUND"); } p.load(inp); System.out.println(p.getProperty("flag")); I tried

lotus notes, search data that equal to textbox

怎甘沉沦 提交于 2019-12-12 01:59:49
问题 I don't understand why my code is not allowed. @If(@DbLookup("":"nocache";@DbName;"GPA";1)="GPnum";@Failure(@Command([FileSave])&@Command([CloseWindow]));@Success)` Please help me. Thank you. 回答1: @If(@DbLookup("":"nocache";@DbName;"GPA";1)="GPnum" your code should have 1 more parameter. from help @DbLookup( class : cache ; server : database ; view ; key ; fieldName ; keywords ) So you have "GPA" as view and then you need to specify Key and field/column you wish to return. Also for DbLookup I

How to get marked rows in the XPages Extension Library <xe:dataView> design element?

回眸只為那壹抹淺笑 提交于 2019-12-12 01:54:09
问题 I have a XPage with design element. How can I get list of checked rows to post it to an agent? <xe:dataView id="dataView1" columnTitles="true" expandedDetail="true" var="dview1" openDocAsReadonly="false" rows="15" showCheckbox="true" showHeaderCheckbox="true"> Thank you! 回答1: For the client-side, you can use Dojo. The following CSJS script will return NoteIds for all selected rows: dojo.query(".lotusFirstCell > input:checked").attr('value') For the server side, you can grab the IDs of

File Upload Control in Domino

╄→尐↘猪︶ㄣ 提交于 2019-12-12 01:52:25
问题 I need to post a file to Domino Server from a PhoneGap Application. Here is the PhoneGap File Transfer example // !! Assumes variable fileURI contains a valid URI to a text file on the device var win = function(r) { console.log("Code = " + r.responseCode); console.log("Response = " + r.response); console.log("Sent = " + r.bytesSent); } var fail = function(error) { alert("An error has occurred: Code = " = error.code); } var options = new FileUploadOptions(); options.fileKey="file"; options

Lotus Domino on 64 bit system: Could not create automation object, error 208

对着背影说爱祢 提交于 2019-12-12 01:42:44
问题 I have created a C# .NET DLL with Release/AnyCPU as per http://www-01.ibm.com/support/docview.wss?uid=swg21230705 and successfully registered it for COM Interop. When I open my 32bit Excel on a 32bit Windows 10, and use the code Private Sub CommandButton1_Click() Dim obj As Variant Set obj = CreateObject("MyTest") MsgBox obj.AppendStr("This is") End Sub it returns the expected values. When I open 32bit Excel on a 64 bit Windows 8.1, and use the same code, it also returns the expected values.

Lotus Java agent can unable to write on a network drive

爷,独闯天下 提交于 2019-12-12 01:32:42
问题 The problem to fix I have a java agent in a database on a Lotus Domino 8.5.3 server, to create export data on a network drive. The signer of the agent is listed in all of the programmability restrictions fields of the server document. The windows user name of the server is added the folder with all access, except "Full access" and "Special rights". The agent can not create the file on the network drive, but can create the file on the local drive. The error message (Domino server log) 2013.01

LotusNotes 8.5 - Adding a row to a table with a button

旧城冷巷雨未停 提交于 2019-12-12 01:14:21
问题 I am an intern and learning LotusNotes currently, so am not very fluent with it yet. My question is, how can I program an action button to add a row to an existing table in LotusNotes 8.5? I have tried the following code, but it has not worked for me, Sub Click(Source As Button) Dim uiw As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = uiw.CurrentDocument Dim doc As NotesDocument Set doc = uidoc.Document Dim Body As NotesRichTextItem Set body = doc.GetFirstItem("Body") If body

Order by in Lotus Notes formula

别来无恙 提交于 2019-12-12 01:13:03
问题 Is is possible to query those documents from a Lotus Domino database which have bigger universal ID than a given number/ID and order them by their universal ID with a Lotus formula query? If yes, how? In SQL the following is similar to what I'd like to: SELECT universalId FROM all_documents WHERE universalId > custom_value ORDER BY universalId 回答1: Yes: SELECT @Text(@DocumentUniqueId) > custom_value This will work in a view selection formula. If you also make the formula for the first column

Convert Active Directory DistinguishedName to Domino Name

纵然是瞬间 提交于 2019-12-11 23:55:39
问题 We are integrating our lotus notes applications with Active Directory for authentication and mailing. Authentication works fine and once logged it return the name in the below format CN=Arumugam, Barath/OU=Users/OU=Region - North America/DC=mhf/DC=mhc However there is no attribute in active directory which matches the above format. The closest match is attribute called distinguishedName. It is in below format. CN=Arumugam\, Barath,OU=Users,OU=Region - North America,DC=mhf,DC=mhc Is there a