lotus-notes

Lotus Notes Diff Tool

强颜欢笑 提交于 2019-12-09 12:59:40
问题 Is there any diff tool for Lotus Notes which allows to compare scripts, design elements and documents? 回答1: 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. 回答2: I see this is an old question, and most of the other answers are a little outdated now, so I

Trying to get lotusscript json reader

早过忘川 提交于 2019-12-09 04:15:30
Through LotusScript I am consuming a webpage that returns json values and I have been unable to find any library out there for lotusscript, other than ls.snapps.JSONReader from openntf. It works, but documentation is limited. I am having trouble reading a nested array in the value list. I was able to get it to work in java using the ibm.common.utils.... library, but was having trouble with mac client and another library (javax.swing.*) so I switched to LotusScript. I am hoping someone else has experience with the ls.snapps.JSONReader library, or maybe a different idea on how to do this. Here

Access Control with a multi database application

[亡魂溺海] 提交于 2019-12-09 03:56:22
问题 I have a mainDB.nsf that contains all of the XPages design, agents, script libraries etc. From this database the user selects an application. There may be one or more application databases. Each of the applications databases contain the actual data for the application, plus the views of that data that is accessed in custom controls in the mainDB. So when a person authenticates against the mainDB they get all their security rights and assume that there is a role in the mainDB called [Finance].

How to pass the Document context in Xpages while calling an Agent?

橙三吉。 提交于 2019-12-08 21:10:33
How to pass the Document context in Xpages while calling an Agent? In Xpage, I am in need of calling a java agent with documentcontext from my Xpage, And also I am in need of passing my current document as a parameter... In Lotuscript we can do it as easily without saving the current document, but in Xpage I am using the following code., document1 is a current document. var agent=database.getAgent("AgentName"); agent.runWithDocumentContext(currentDocument.getDocument()); This code I am not able to get the values of my current document's items, but if I will use the following code, var agent

XPages: Bootstrap Validator

旧城冷巷雨未停 提交于 2019-12-08 21:01:30
i was trying to build a Xpage with a Bootstrap Validator ( http://bootstrapvalidator.com/examples/mask/ ) to validate an IP-Adress <?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core" id="testid"> <xp:this.resources> <xp:styleSheet href="/bootstrap.css"></xp:styleSheet> <xp:styleSheet href="/bootstrapValidator.min.css"></xp:styleSheet> <xp:script src="/jquery-1.11.1.js" clientSide="true"></xp:script> <xp:script src="/bootstrap.min.js" clientSide="true"></xp:script> <xp:script src="/bootstrapValidator.js" clientSide="true"></xp:script> <xp:script src="/jquery

Simultaneous Lotus notes server-side agents

…衆ロ難τιáo~ 提交于 2019-12-08 18:22:27
In my Lotus Notes workflow application, I have a scheduled server agent (every five minutes). When user's act on a document, a server-side agent is also triggered (this agent modifies the said document, server-side). In the production, we are receiving many complaints that the processing are incomplete or sometimes not being processed at all. I checked the server configuration and found out that only 4 agents can run concurrently. Being a global application with over 50,000 users, the only thing that I can blame with these issues are the volume of agent run, but I'm not sure if I'm correct (I

How to convert text and rich text fields in a document to html using lotusscript?

╄→尐↘猪︶ㄣ 提交于 2019-12-08 13:50:08
问题 i just wanted to know how can i convert text and rich text fields in a document uploaded in a database to html fields. 回答1: Knew I'd seen it somewhere: nsftools.com to the rescue The core of the trick is to save the content as MIMEParts. The sample code is 5 years old and was designed for R6 but Notes has pretty good backwards compatibility. I've also had personal experience that going the other way from MIME to RichText is straightforward so you should be ok. For the normal text fields you

Lotus Domino Server Access from iPhone

耗尽温柔 提交于 2019-12-08 12:03:23
问题 I am new to lotus notes and domino server. I want my iPhone application to have access of domino server. I want to get Contacts from domino server in my iPhone Application. I googled for it,I found many documents. but I couldn't find perfect data flow for that. can any one explain me how can i get Contacts/Calendar/Mail from domino Server. What is the purpose of using java Agents for lotus notes? In simpler word, I want to make Lotus notes for iPhone with iPhone SDK 3.0. Thanks, 回答1: As you

Saving .eml file with X-Unsent: 1 is not working for Lotus Notes 8.5

自作多情 提交于 2019-12-08 11:54:17
问题 The .eml file created with below contents works appropriately in Outlook, however, when you open it with Lotus Notes 8.5 - it's not shown as draft email. It comes-up as a normal email, like it is in Inbox. If I try to Forward the email, then the image section is shown with a RED X. I need to create an draft email which can be opened both in Outlook and Lotus Notes with HTML body. Any suggestions on how to create an .eml file for Lotus Notes? I am using C#, to generate the .eml file. X-Sender:

Notes Sessions Vs Lotus Session COM API Issues

ぃ、小莉子 提交于 2019-12-08 11:52:59
问题 I maintain a fairly large application which does a lot of talking with Lotus Notes. Recently in the last couple of months, some users have been having problem connecting to the Lotus Notes Session, I use the following code to get the session Set Session = CreateObject("Notes.NotesSession") This error seems to be popping up only for a certain number of users. I created a sample app with the following line Set Session = CreateObject("Lotus.NotesSession") And the above line works for some reason