lotus-domino

How to specify agent / formula to retrieve documents by criteria

馋奶兔 提交于 2019-12-12 06:16:11
问题 The form contains "searchInputField" and simple button for it. Below the button, there is a view. How can i specify SELECT formula in VIEW according to searchInputCriteria? I want to refresh VIEW when button is clicked after setting "searchInputField". It should be like simple custom search. On button click i have done: @SetEnvironment("criteria", "searchInputField"); @Command([RunAgent];"searchAgent"); @Command([ViewRefreshFields]); My agent does: SELECT @Like(propertyA, @Environment(

Changing Design of master template in Lotus Domino

左心房为你撑大大i 提交于 2019-12-12 06:07:39
问题 This question is specific to service account in Lotus domino. Actually i am trying to access any user's calendar using another user credential via REST DAS services. I have created one user in Domino and want to use this user to access the other user's calendar item.Is there any way i can achieve the same. I have tried delegation of the access,but the problem with this is manually i have to go to each mailbox and do the same.Is there any way i can automate this process or changing a master

Clickable format to email links in lotus notes

送分小仙女□ 提交于 2019-12-12 05:34:08
问题 I am working on an application with xpages.I would like to send emails with that contain links. When I send the link, it does not appear in clickable format.Can someone help me to have clickable format? Thank you var db = session.getCurrentDatabase(); var memo = db.createDocument(); memo.appendItemValue("Body","http://www.my_link.com"); memo.appendItemValue("Form", "Memo"); memo.appendItemValue("Subject", "New task !"); var t = mail.getValue(); memo.send(t); 回答1: If you do it like this, the

How to prevent local replication of a company database

戏子无情 提交于 2019-12-12 05:20:02
问题 I have a big Lotus Notes company database containing sensitive data and I want to prevent normal users to replicate this database locally. Explanation of the main problems : sensitive data on laptop server deleted documents reappear if the purge interval is more frequent than local replications server deleted documents reappear if users modify them locally These solutions are NOT working in my context : uncheck the "replicate or copy documents" in the ACL for users. If done, users cannot copy

Launch xpages application in home screen

拟墨画扇 提交于 2019-12-12 04:59:26
问题 I am trying to launch a XPage(web) mobile application from a email(Lotus traveller). When I use a simple HREF in email body (using stream and MIME), xpage(web) mobile application opens in a new window on ipad ( which I believe is expected from Ipad) and displays address bar. The same page when opened from homescreen does not display address bar. I have used following on my mobile page <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style"

Lotus Notes: Replication conflict caused by agent and user running on the document at same time

廉价感情. 提交于 2019-12-12 04:58:51
问题 In one of the lotus notes db, too frequent replication/save conflicts are caused reason being a scheduled agent and any user working on the document at the same time. is there any way to avoid this. Thanks, H.P. 回答1: Several options in addition to merging conflicts: Change the schedule The best way to avoid it is to have your scheduled agents running at times when users are not likely to be accessing the system. If the LastContact field on a Client document is updated by an agent every hour

Manage ACL for the entire users in domino

十年热恋 提交于 2019-12-12 04:56:22
问题 Is it be possible to have a common ACL rule to the list of users? basically this rule will be for the mail access (read and write documents with no access)).We would able to achieve it my managing the ACL at a point of time. But later if any new user is onboarded, is it possible to force to be with the same ACL. Suggestions please.. 回答1: If you want to create a set of standard ACL entries you can do so by creating ACL entries in the design template with names in square brackets. For example

Incorrect data type for operator or @function time/date expected on lotusscript?

*爱你&永不变心* 提交于 2019-12-12 04:35:27
问题 In lotusScript: I've used: doc.DocDate = Format(document.get("DatePublished"),"mm/dd/yyyy") 'Rem return 08/22/2017 In formula: I've used for to get year: @Year(DocDate) But when i run the program i get the error : "incorrect data type for operator or @function time/date expected". How to fix it? 回答1: Get date value with document.DatePublished(0) or document.GetItemValue("DatePublished")(0) Then your field DocDate should be calculated properly. @Year() expects a NotesDateTime value. DocDate is

how to bypass lotus notes password log in - JAVA code

浪尽此生 提交于 2019-12-12 04:07:37
问题 My code works great so far, except for one part which I need to bypass somehow because this is going to be an autosys job. That one part is logging in to lotus notes (when I'm logged in and the app is still running); every time my script runs it requires the user to input his password. I've tried code to log in to my account but it still didn't work for me, so I was wondering what am I missing? Any help would be greatly appreciated! My code is below. It is very close to being finished. The

For JDBC in XPages, how does the server know the connection information?

╄→гoц情女王★ 提交于 2019-12-12 03:11:24
问题 Ok, I got one of our JAVA/JDBC guys to come take a look at my JDBC issue as documented in http://stackoverflow.com/questions/9787525/jdbc-ordeal-it-shouldnt-be-that-difficult-partial-solved-new-errors It seems that if I put ojdbc14 as the ConnectionName I get this error: Error while reading the relational data Error while loading connection ojdbc14 Error parsing XML stream InputStream cannot be null But if I put ojdbc14.jdbc as the ConnectionName I get this error: Error while reading the