Questions tagged [xpages-ssjs]

The IBM Lotus Domino XPages Server Side Javascript Language

XPages SSJS is a ECMAScript based language specific to IBM Lotus Domino XPages.

It is a Javascript interpreter written in Java and can access extended IBM Lotus Domino objects and Java classes. XPages SSJS is designed to give developers familiar with Javascript, LotusScript and even Notes Formula Language a powerful scripting environment that can be used throughout the XPages IDE.

884 questions
0
votes
1 answer

in view onclick change value previous and current row

I would like to change the value of a field in the backend document of the clicked row in a view, but also of the previous row. What could be the best way of dooing this ?
Marc Jonkers
  • 496
  • 1
  • 7
  • 17
0
votes
2 answers

Xpages @Dblookup does not work on server

I write a xpages. detail: There are two combobox A,B. I use @Dbcolumn on combobox A to get option data from notesview and I will throw the choice I get from A to get second data for B. the problem is: it work well on my localserver, but get no…
0
votes
3 answers

session.evaluate and notesxspdocument

I have question regarding session.evaluate in SSJS. In a keyword document I have some @formula stored which does some conversion of data. Lets say this is would be: @left(fieldname;2) If the fieldname contained 'hello' this would result in 'he'.…
jjtbsomhorst
  • 1,667
  • 11
  • 28
0
votes
1 answer

Translation of Delete Selected Documents Action

in the "delete selected documents" action it is possible to specify a confirm message, so i can tranlsate this message in every language. But, if no document was selected, a dialog appears with the message "Please select one or more documents to…
Mario Semper
  • 511
  • 1
  • 3
  • 17
0
votes
1 answer

Server side onclick events stop working after session timeout?

I have a radio button group and some other drop down selections to filter a view. These use an onclick SSJS event to change the view when the user selects a value. I also have a onclick event in a link on the view items. All works great unless I…
Howard
  • 1,503
  • 7
  • 16
0
votes
2 answers

I need to write a code in xagents to pull data from .csv file to lotus notes

I have a requirement where I need to write a code in SSJS to pull data from .csv file to Lotus Notes. I searched alot online & found code for exporting but no luck for import code. I am new to xPages & SSJS so any reference will be highly helpfull.
Afreen
  • 51
  • 5
0
votes
2 answers

Display large rich text field values on to the web in XPages

I have a rich text field storing comma separated numbers (large numbers from 11111 to 99999 with three character prefix - so xxx11111, xxx11112 etc). I am using the appendText property and in the document I noticed that after around 16KB another…
pipalia
  • 911
  • 1
  • 12
  • 46
0
votes
4 answers

PostSaveDocument call agent asynchronously

I have an Xpage page with a single Notes document datasource. After saving a document I want to (conditionally) trigger an agent. The agent takes some time to process and we don't want the user to have to wait for the result, so it should be…
BvG013
  • 53
  • 7
0
votes
1 answer

ReplaceItemValue on XPage throwing error

Working on an XPage. Have a button that when clicked sets the value of the "b_BugNum" field to "2" using SSJS: document1.ReplaceItemValue("b_BugNum","2"); Keep receiving this error when run: [TypeError] Error calling method…
Derek
  • 16,181
  • 3
  • 27
  • 36
0
votes
2 answers

XSP.partialRefreshGet - Not sending values and not triggering events

Spent a couple of hours on this now and I'm at my end of the rope here... Could someone please tell why the below isn't working: Just created a fresh database on a Domino 8.5.3 server all default settings. What I expect to happen is that…
jBoive
  • 1,219
  • 1
  • 14
  • 40
0
votes
1 answer

XPage is unresponive for awhile after PDF is generated

I'm using this example by Ulrich Krause http://www.eknori.de/2011-10-25/xpages-to-pdf-with-itext/ And it works great but when you have clicked on the button the PDF is returned to the user. Any SSJS clicks is dead on the page for a while. Like a…
Fredrik Norling
  • 3,461
  • 17
  • 21
0
votes
1 answer

Get the field used in a NotesViewColumn using Java/SSJS

I have a handle to a NotesViewColumn and needs to know what field is used for that column (only fields are used, no formulas). The column has "Display: Field" set and (naturally) just contains the field name. Any ideas?
jBoive
  • 1,219
  • 1
  • 14
  • 40
0
votes
5 answers

Call Eventhandler from ClientSide JS

I was looking at this post by Jeremy Hodge http://xpagesblog.com/XPagesHome.nsf/Entry.xsp?documentId=88065536729EA065852578CB0066ADEC With Event handlers and calling them from ClientSide JS. But I can get them to work if I put some SSJS in side the…
Fredrik Norling
  • 3,461
  • 17
  • 21
0
votes
2 answers

xpages validate database exist

I'm new to javascript and xpages here. I'm upgrading an old notes application to xpages. In my xpage I have a field, a save button, and an error messages control. The field is used to save the value of a nsf path/name that the user typed in to be…
user1409217
  • 412
  • 11
  • 29
0
votes
2 answers

How do I set the zIndex on a dijit.TooltipDialog?

I've created a dijit.TooltipDialog and everything works as it should. However, if another dialog is produced from within the tooltip dialog it shows up behind the tooltip dialog instead of on top of it. I checked the zIndex on the 2 dialogs and the…
keithstric
  • 1,053
  • 1
  • 11
  • 21
1 2 3
58
59