Questions tagged [lotusscript]

LotusScript is a dialect of the BASIC programming language used by Lotus Notes and other IBM Lotus Software products

Lotus-Notes-oriented questions on StackOverflow are infrequent enough that the single lotus-notes tag should encompass all Lotus Notes language topics, including LotusScript, the Notes formula language, the Notes C/C++ API, and the COM and Java interfaces. As such, it is better to use that tag, lotus-notes, rather than this one, lotusscript.

It is appropriate to also include specific language tags when asking questions about communicating with Lotus Notes from those languages, for example using .NET or VBA to send an email, or to pull data from SQL into Notes.

1233 questions
2
votes
2 answers

Encrypt Notes Database programmatically

I need to build a tool that can Encrypt databases on server. So far I have found this info (but that's not enough). It's possible to check if database encrypted (works only locally) using NSFDbIsLocallyEncrypted. Make a replica…
Dmytro Pastovenskyi
  • 5,240
  • 5
  • 37
  • 56
2
votes
2 answers

How can I display dialog list in web browser (HTML) so that user can select information from Address Book in Lotus Notes

Before this I ask a question how to display Address Book through web browser in here. Then, I found an Agent that can run and find all information in Address Book. But my problem right now is, I do not know how to display a dialog list so that User…
Reinhaa
  • 195
  • 1
  • 17
2
votes
1 answer

NotesJsonNavigator and international characters

I have json data that I want to use in a lotusscript library. I use NotesJsonNavigator to navigate through the data. If I set preferUTF8 to false, the values in NotesJSONElements are strings, however it drops international characters like ö, å,…
Tom Van Aken
  • 435
  • 2
  • 16
2
votes
1 answer

I need the sum of two columns in a view

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…
Todd
  • 313
  • 1
  • 4
  • 17
2
votes
1 answer

How to disable Ctrl+P so that user can not directly print the currently opened document?

While working in Lotusscript, I want my users not to be able to print the documents by pressing ctrl+p. Instead of this, i provide an action button, so that it makes some extra steps before printing the document. Is this possible to disable direct…
Babur Mansoor
  • 73
  • 1
  • 10
2
votes
0 answers

64k limit for NotesJSONNavigator?

I'm currently testing the new Domino V10 LotusScript NotesJSONNavigator classes, and trying to parse long strings using this code: dim session as New NotesSession Dim jsonReader as NotesJSONNavigator Dim stream as NotesStream Set stream =…
ty_rex
  • 89
  • 5
2
votes
0 answers

Code- and Comment-Templates in Domino Designer: how to format template variables?

For a while I've been using code and comment templates in Domino Designer, not only with Java / JavaScript / Xpages etc. but with LotusScript as well. In my templates I'm using built-in variables like ${date}, ${author} or ${user}. They are putting…
Lothar Mueller
  • 2,528
  • 1
  • 16
  • 29
2
votes
3 answers

Assign a datetime array to a multivalue date field on the Domino form

I am accessing a document from a view, read a datetime field, figure out number of days between two date/time values which fall into four categories. In each category there is a for loop which add number of datetime values to an array of variant.…
Al Soltan
  • 21
  • 1
  • 3
2
votes
0 answers

How do I figure out the value of an unknown constant?

How do I figure out the value of "$RichTextFormat"? This comes from Lotus 123 release 9.5 for Windows ClipboardFormat enumeration. I'm hoping you can give me a clue without knowing Lotus 123. I'm running Lotus 123 from VB.net and need to figure out…
D_Bester
  • 5,723
  • 5
  • 35
  • 77
2
votes
1 answer

Lotus scripts Set value(Unique Number) in each document from GetAllDocumentsByKey

From my code below try to Looping from "GetAllDocumentbyKey" and Set Unique number each document for to show in Folder View , but from my code it's not work. How should I solve this problem? Dim defect As Variant defect =…
2
votes
1 answer

Detect "Page Break" in RichText field with LotusScript

How can I detect page breaks in an RTF field? I need to do a process to replace page breaks with symbols.
JBarnes
  • 63
  • 3
2
votes
2 answers

What's the easiest way to tell if an application uses Stored Forms in Lotus Notes?

We are in the process of moving our mail system from Notes to Office 365 and the tool they got to help with email address translation and such will not handle applications that use stored forms in documents being routed. Is there a simple way to…
2
votes
1 answer

how to set user type for lotus notes for a group, to create user and email account? using lotuscript

NotesRegistration.Mailaclmanager ="LocalDomainAdmins" By Default, it always give me a mixed Group How to set by default for for LocalDomainAdmins group is [Person group] My Coding update Dim reg As New NotesRegistration Dim dt As Variant dt =…
Desmond Sim
  • 211
  • 2
  • 19
2
votes
1 answer

Lotus Notes : How to limit the extension file type in the dialog box of the rich text lite field using thumbnails only?

Here is my problem: i have a rich text lite field, used to store a contact photo. Parameter of this field is: - only allow for thumbnail with an image attachment name (mandatory) = ContactPhoto Parameter of the Rich Text Lite When the user clicks…
K. Gratiot
  • 31
  • 2
2
votes
1 answer

How to run LotusScript agent from Xpages without saving document

is it possible to run a lotusscript agent from a Xpages form which is not saved yet? I have "xspFrmTest.xsp" page, lotusscript agent name (wsAgent) When i open /xspFrmTest.xsp?action?newDocument then with a button i call Lotusscript agent but as…
Cumhur Ata
  • 809
  • 6
  • 18