< Back

Document Subject: How to add a serverside javascript library to a custom control or xpage
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#ssjs-lib or http://A555F9/nn.nsf/ByAlias/ssjs-lib

How do you add a SSJS library to an xpage or an xpages custom control




Create a Server Side Javascript library first in Code-> Script Libraries.

In the bottom left outline area, click on XPage or Custom Control.

In the properties click on Resources.

Click "Add" Javascript Library, then click wahtever you want.