Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In XPages, how do you import one SSJS library into another?

As the title says, is there any way to import one SSJS library into another? I have a debugging library named debug.jss that I would like to include and use in my other SSJS libraries, but I'm not sure how to go about doing that. It seems like a pretty fundamental question, but I haven't found any answer. Thanks in advance.

like image 877
Reid Rivenburgh Avatar asked Nov 27 '25 14:11

Reid Rivenburgh


1 Answers

At the first line;

import debug;

It will import the second SSJS library.

The related documentation is here.

like image 162
Serdar Basegmez Avatar answered Nov 30 '25 06:11

Serdar Basegmez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!