lotusscript

Search for a date between given ranges - Lotus

喜你入骨 提交于 2020-01-24 19:55:08
问题 I have been trying to work out what is the best way to search for gather all of the documents in a database that have a certain date. Originally I was trying to use FTsearch or search to move through a document collection, but I changed over to processing a view and associated documents. My first question is what is the easiest way to spin through a set of documents and find if a date stored in the documents is greater than or less than a specified date? So, to continue working I implemented

I need the sum of two columns in a view

旧城冷巷雨未停 提交于 2020-01-15 04:57:41
问题 I found this code that goes through and prints out csv for both columns. I later parse and count the two columns. I want to count it here instead of printing and counting later. I've been mucking around but couldn't figure it out. Dim entry As NotesViewEntry Dim vc As NotesViewEntryCollection Dim rowstring As String Dim session As New NotesSession Dim db As NotesDatabase Set db = session.CurrentDatabase Dim view As NotesView Set view = db.GetView( nameofview ) Set vc = view.AllEntries Set

Trying to get lotusscript json reader

早过忘川 提交于 2020-01-14 03:24:06
问题 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

Is it possible to pass arguments in lotus notes dialog box

强颜欢笑 提交于 2020-01-06 21:39:54
问题 I have one form with two fields called "Field 1" and "Field 2" and one action button called "check". On click of that action button, i want to open dialog box with three fields which should get auto populate based on Field 2 value. How to achieve it? Appreciate if anyone helps me. 回答1: Yes, it is possible. There's a document parameter for NotesUIWorkspace.DialogBox() . Use this document to pass parameters to your dialog. UPDATE Assume you have a form with name "MyDialogForm" to represent your

Inserting a hotspot inside a rich text in using lotusscript

混江龙づ霸主 提交于 2020-01-05 11:33:35
问题 What I need to do is to create a hotspot link and attached it inside a rich text. I already found a way to implement this by following this link: http://ozinisle.blogspot.com/2010/11/lotusscript-code-to-append-hotspot-to.html Now I want the created hotspot to be inside or in the middle of an existing rich text field. If you checked the link it creates a document with a body rich text for the hotspot, I can't identify inserting it inside tried using nav and range but it just gets the plain

Inserting a hotspot inside a rich text in using lotusscript

一曲冷凌霜 提交于 2020-01-05 11:30:14
问题 What I need to do is to create a hotspot link and attached it inside a rich text. I already found a way to implement this by following this link: http://ozinisle.blogspot.com/2010/11/lotusscript-code-to-append-hotspot-to.html Now I want the created hotspot to be inside or in the middle of an existing rich text field. If you checked the link it creates a document with a body rich text for the hotspot, I can't identify inserting it inside tried using nav and range but it just gets the plain

Notes Designer runs agent after saving

天大地大妈咪最大 提交于 2020-01-05 09:24:09
问题 I recently switched to Notes Designer 8.5.2 and noticed if I am editing an Agent scheduled for running daily at 08:00 the agent runs right after saving changes in the programmers panel. Is that a new feature and how i can avoid that the agent runs now ? 回答1: No, that's an old bug...{ahem}...feature. At least I dealt with it a lot on 6.0 and probably earlier. When you save a scheduled agent you clear out the record on the server that the scheduled agent has run today, and it puts the agent

Share a LotusScript library between databases

不想你离开。 提交于 2020-01-03 18:39:01
问题 Is it possible to create a LotusScript library in one database and then access it from another database? Without simply copying the library into each database that needs to use it. What I would like to achieve is a single location where I can update the library and not have to manually copy it over to each database that is using it. I can't use a design template as the databases that use this script library all use different design templates. I guess another solution would be to create an

Share a LotusScript library between databases

好久不见. 提交于 2020-01-03 18:38:08
问题 Is it possible to create a LotusScript library in one database and then access it from another database? Without simply copying the library into each database that needs to use it. What I would like to achieve is a single location where I can update the library and not have to manually copy it over to each database that is using it. I can't use a design template as the databases that use this script library all use different design templates. I guess another solution would be to create an

Invoking method on a Java class from lotus script (LS2J)

徘徊边缘 提交于 2020-01-03 10:05:11
问题 Most dignified developers, I'm having trouble invoking a method on my own java class from a lotus script agent. My Java class simplified looks like this import lotus.domino.*; public class MyClass{ /* .. omitted constructor and other methods .. */ public void myMethod(Document doc){ /* ... do things with the document object ...*/ } } Now this class is included with the proper use statement, and I can iterate over the classmethods on the class object in lotus script to get the signature of the