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
3
votes
1 answer

Lotus Notes WebService Consumer populate Array XSD_STRING

I'm having some real trouble here regarding a Lotus Notes webservice consumer (written in lotus script). The thing is that I'm sending an array (as a Class) to type XSD_Anytype, see below. *************************************** **** Snippet from…
Lars Hansen
  • 155
  • 1
  • 2
  • 16
3
votes
2 answers

Why won't scheduled Notes Agent run

I have developed a Notes agent that cross matches documents in the database based on certain criteria. We have a development server, a train server and a live server and each is running an instance of the relevant application. The agent does…
AJF
  • 1,801
  • 4
  • 27
  • 54
3
votes
1 answer

How can you clear a List?

I have a List that I'd like to reuse but I haven't been able to figure out how to clear it of it's previous entries. dim x list as string, i as integer for i = 1 to 4 x("a"+cstr(i)) = "blue"+cstr(i) x("b" +cstr(i)) = "green"+cstr(i)
Clem
  • 395
  • 1
  • 13
3
votes
1 answer

How to access WEB-INF files in Lotus Notes?

I need to access WEB-INF files content in Lotus Notes database by using Java or Lotus Script: WebContent\WEB-INF\jdbc\DB2Connect.jdbc XPages are using these properties to connect DB2 database. But I need a Java agent that would use same…
VladP
  • 881
  • 2
  • 13
  • 37
3
votes
1 answer

"Logout" from Notes authentication

I have a Lotus Notes application that uses the default Lotus Notes http login. On our developer server, Notes has a html form that sends the login request to names.nsf
and the logout…
Alexander
  • 19,906
  • 19
  • 75
  • 162
3
votes
1 answer

Error type mismatch with replaceitemvalue

I have a problem with a subrutine, i want to replace a value of a field in other form in the same database, my code runs ok if i put it into a buttom, but i wish to do a sub because i want to use it more times. So, i have this code: Public Sub…
David
  • 354
  • 6
  • 19
3
votes
2 answers

How to tokenize a string in Lotus Notes Script

I need to split a string into several tokens just like the java code below: StringTokenizer st = new StringTokenizer(mystring); while (st.hasMoreTokens()) { System.out.println(st.nextToken()); }
Rafael Borja
  • 4,487
  • 7
  • 29
  • 33
3
votes
1 answer

Refresh regular view and embedded view

I have a view from which I can open documents and change its status. After I change status document is being closed but view doesn't refresh until I press F5. Same thing happens when I create a response document from an document with embedded view.…
Anatoly
  • 5,056
  • 9
  • 62
  • 136
3
votes
1 answer

How do I add a Web URL to a document using LotusScript

I have an agent that takes a copy of a template document and puts in values from a text file. I am running into a problem when adding a hyperlink to a field programmatically, If I just add the text (e.g. http://www.google.com) there is no hyperlink…
Melbz
  • 512
  • 4
  • 14
3
votes
1 answer

All Usernames in a specific Role in Lotus Notes

I need to get all the username of a specific role so that I would be able to send a mail to all user's who has that role access. How would I able to accomplish this task? I saw this link, How do I get all users who have a specified role? Is there no…
3
votes
3 answers

Lotus Notes 7 - copy / move docs. ( parent & response docs ) without changing the UNID ?

I have 2 databases : let say dbA and dbB. Actually, dbB is a ''child'' database of dbA, because the forms/views/frameset/etc that it contains they all are also in dbA. I want now, to copy from a view ( let say vwA ) from dbA some 8K docs to the same…
Florin M.
  • 2,159
  • 4
  • 39
  • 97
3
votes
1 answer

Domino Designer: Access selected rows from embedded view

Once again I have a question concerning Domino Designer. There are newsletters which should be assigned to several contacts. Therefore I built a form containing a combo box to select the newsletter. Beneath, there is an embedded view containing all…
Markus
  • 291
  • 1
  • 4
  • 18
3
votes
3 answers

How to send lotusscript in an email programmatically?

I am trying to programmatically generate lotusscript (in a form of a scriptable button) from a web application (Java EE) and send it to an end-user who will then run it in his/her Lotus Notes client. How can I achieve this? Is there an API for me to…
ccjx
  • 105
  • 6
3
votes
2 answers

Scheduled agents nsf and ntf

Our products coded in Designer are usually structured as: database1.nsf, database2-production.nsf, database3-devel.nsf, then, all of them use the same template: database-template-verX.X.ntf Agents I code, are coded in NTF. After ntf is ready to…
gregor
  • 609
  • 1
  • 7
  • 15
2
votes
3 answers

DocumentContext not returning value

I am using following code in a Java Agent in Lotus Notes: Session session = getSession(); AgentContext agentContext = session.getAgentContext(); Document doc = agentContext.getDocumentContext(); But it is returning docvariable as Null value. I am…
Himanshu.MarJAVA
  • 475
  • 1
  • 11
  • 33
1 2
3
82 83