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
4 answers

Restricting access in Lotus Notes form

I would like to be able to let all users to create a form (QCR) but then no one should be able to edit the form except me and one other user. I have been tinkering around with the ACL and Authors and Readers field but have no luck. Some more…
Johan G
  • 1,064
  • 3
  • 16
  • 30
2
votes
3 answers

Recurring calendar entries in Lotus Notes

Does somebody know if it is possible to change one of documents in a series of recurring meetings? I changed one of them with c# api and it changed all documents in the series (e.g. 5 docs in series will be modified during one save() call) var…
Marcin Marek
  • 143
  • 1
  • 8
2
votes
1 answer

Error sending HTML mails with Agents in LotusScript

I am trying to send emails from agents, but i have an error always with the next document that the agent process. For example, if there are 5 emails to send, the first is ok, but with the second the agent stops and show this error: Objet variable…
David
  • 354
  • 6
  • 19
2
votes
1 answer

How can I delete a mail database in HCL Domino over Lotus Script?

I would like to delete a mail database over a notes agent. Sometimes the mail databases have a replica. Whats the best way to delete the mail file itself and also all other replicas (if they exist)? My code below looks like this, but it doesn't…
Baku Bakar
  • 442
  • 2
  • 8
  • 20
2
votes
2 answers

LotusNotes: saving documents as email files

I need to ask you about the possibility of saving LotusNotes documents (with the attachments) as separated files in EML format on a hard disc. Of course it's not important to keep the original document's look but it's very important to input into…
td2003
  • 53
  • 1
  • 7
2
votes
2 answers

Runtime Error 53 "File Not Found" from LotusScript agent (SOLVED)

For unknown reasons a server-side LotusScript agent is throwing Error 53 "File not found" while trying to read the physical file size of an existing mail archive file. Situation is as follows: the LS agent is looping all files in a given directory…
Lothar Mueller
  • 2,528
  • 1
  • 16
  • 29
2
votes
0 answers

Read response from "tell" command

I need to read response (on Domino Console) for command like: "tell http show security" It works when I do 'show' commands (see example below). Res will get full response. res = notesSession.SendConsoleCommand("server", "show server") However that…
Dmytro Pastovenskyi
  • 5,240
  • 5
  • 37
  • 56
2
votes
1 answer

Button in Lotus Notes that automatically forwards en email with attachment

I'm trying to make a button in IBM Notes that automatically forwards emails with attachments to a specific address. I have looked at 2 previous examples on this website but none of them are working for me and I get the mail forwarded to myself. Can…
Adrian
  • 25
  • 2
2
votes
2 answers

Get Attachment from POST using Agent and LotusScript

I have a web form (see dummy example below), it's printed by an agent. When form is submitted it's processed by an agent (LS). I do not know how to retrieve files/attachments, that is my problem.
Dmytro Pastovenskyi
  • 5,240
  • 5
  • 37
  • 56
2
votes
2 answers

LotusScript: getItemValue("Body") splits paragraphs into several lines

getItemValue("Body") does not retrieve the paragraph of the email correctly, it splits it into several lines. the body of my email is the following: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut nec consectetur odio. Donec vulputate…
Q. Suisse
  • 107
  • 8
2
votes
1 answer

Class or type name not found - type Object

I am a beginner in LotusScript, I have the following error in my agent: My goal is to be able to connect to the server with the following code: Option Public Option Declare Sub Initialize Dim myServer As String Dim myMailfile As…
Q. Suisse
  • 107
  • 8
2
votes
0 answers

HTTP Web Server: Agent did not complete within configured time limit

I have a web application that builds web-pages using agent (it's written in LS and we use [print html] to output HTML) and from time to time I see an error as below. 02-11-2020 10:00:18 HTTP Web Server: Agent did not complete within configured…
Dmytro Pastovenskyi
  • 5,240
  • 5
  • 37
  • 56
2
votes
1 answer

Read "Template version is" from database

I need to read a property from database: Template version is. I have tried: Checked NotesDatabase classes (LS and Java) and have not found quickly anything. Checked at catalog.nsf and still could not see that value. Does anybody know how to do…
Dmytro Pastovenskyi
  • 5,240
  • 5
  • 37
  • 56
2
votes
1 answer

Lotus Notes 8.5 client hide action button

I am having problems hiding an action button in a view. We recently upgraded to 8.5 and the method I used to use no longer works. I used to be able to create a role in the acl. Then add this formula to the action button properties "Hide action if…
Mike
  • 713
  • 6
  • 20
  • 41
2
votes
4 answers

In a LotusScript Agent how do you get the name of the current server?

In a LotusScript Agent that is being run via WebQueryOpen, how do you get the name of the current server?
Derek
  • 16,181
  • 3
  • 27
  • 36