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
11
votes
3 answers

Sending formatted Lotus Notes rich text email from Excel VBA

I have little Lotus Script or Notes/Domino knowledge but I have a procedure, copied from somewhere a long time ago, that allows me to email through Notes from VBA. I normally only use this for internal notifications where the formatting hasn't…
Lunatik
  • 3,838
  • 6
  • 37
  • 52
11
votes
3 answers

Lotus Notes / LotusScript - How to set date in German rather than English?

I am writing code which sends a mail to users. The mail text contains a date. While the date is calculated correctly, the date is displayed in English, even though all users have German language Windows OS and have German set as their language in…
user1358852
8
votes
2 answers

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

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 ..…
Erik Backman
  • 83
  • 1
  • 6
7
votes
2 answers

Need to work with $FILE attachments and I cannot access them

I have an incoming email (mail-in db) that contains a RichTextField where "some" attachments are found. I am also finding attachments not in the RTF but in the Document as $FILE. I am trying to get a handle on all the objects to copy them to another…
RoyRumaner
  • 769
  • 1
  • 9
  • 29
6
votes
1 answer

How to Consume a RESTful Web Service in Lotus Notes

Has anyone written a client in Lotus Notes to consume a RESTful web service? If so, what are some examples of code that you have used? I'm uncertain as to where to start, as there do not seem to be many examples on the web at present. My end goal…
Fuzzy Analysis
  • 3,168
  • 2
  • 42
  • 66
5
votes
4 answers

Can I return a List from a LotusScript Function?

I want to return a List from a Function in LotusScript. eg. Function myfunc() List As Variant Dim mylist List As Variant mylist("one") = 1 mylist("two") = "2" myfunc = mylist End Function Dim mylist List As Variant mylist =…
molasses
  • 3,258
  • 6
  • 22
  • 22
5
votes
4 answers

Calling Lotus Script Function From Lotus Formula

I need to call a lotus script function from Lotus Formula. The function returns a result. I do not just want to run a script which does not return any value. This is for Lotus Notes 7. Example LotusScript Functions: Function isName( name As…
Andrew
  • 51
  • 1
  • 2
5
votes
1 answer

How to implement "continue=false" in Xpages events

This is a rather generic question, but I'll try to be as precise as possible: quite often I'm asked by customers for proper implementations of LotusScript's continue = false in Notes' Query* events. One quite common situation is a form's QueryOpen…
Lothar Mueller
  • 2,528
  • 1
  • 16
  • 29
5
votes
6 answers

Lotusscript: From address when sending email as web user

I have a lotus-script agent which runs as Web User since I need to know who the current user is and process information accordingly. The problem is that when sending a email in this agent the From email address shows the web user email address…
pipalia
  • 911
  • 1
  • 12
  • 46
4
votes
5 answers

How do I connect an SQL database to Lotus Domino Designer?

I am creating a Lotus Notes application which has to have dynamic combo boxes. The choices for the combo boxes need to be retrieved by selecting from a SQL database. I am new to Lotus Notes / Domino, I would love to know how to connect my SQL…
4
votes
1 answer

Clear Replication History programmatically

I'm looking for a way to clear "Replication History" programmatically (typically we do it manually if needed, see image below) I have checked LS and Java classes and did not found anything useful. I will try to find something Notes C API database…
Dmytro Pastovenskyi
  • 5,240
  • 5
  • 37
  • 56
4
votes
4 answers

Call to getEmbeddedObjects(); (Domino Server API) returns wrong results

The Domino server API getEmbeddedObjects(); returns the wrong result (zero) when a mail containing an attachment (as embedded object) is sent from the script. Though an attachment is sent as an EmbeddedOBject, getEmbeddedObjects(); returns…
Rajath
  • 215
  • 5
  • 13
4
votes
2 answers

LotusScript ArrayUnique function doesn't seem to work with date/time arrays

I've tried to figure this issue out on my own, but perhaps there is something I am misunderstanding about the way ArrayUnique works. Here is some sample LotusScript code: 'Let's test some dates dateOne = CDat("12/16/2010") dateTwo =…
Pandincus
  • 9,506
  • 9
  • 43
  • 61
4
votes
1 answer

Insert images / files inside Notes document using lotus.domino

I am trying to insert some inline image and inline attachment inside Notes document, using Rich Text format by lotus.domino package Java API, and send it. The code of inserting is as below. // Insertion by RichTextItem.embedObject() RichTextItem…
Nozomi
  • 41
  • 1
  • 3
4
votes
1 answer

How to make automated notification using Lotus Script

I know that using Lotus Script you can make an notification (auto email), ONLY If you have some control that will be triggered manually (like a button etc etc..). What I want is to trigger the notification automatically (with out human…
Bimbz
  • 443
  • 2
  • 5
  • 18
1
2 3
82 83