Reputation: 11
I am new to xpages and to bootstrap also.
I have a query Sample code URL. I am trying to use the sample code in my xpage but I get the below error:
Cannot find the library org.openntf.xsp.bootstrap.library, required by the application /Pranesh/Tracking.nsf.
I have setup the bootstrap files in Designer. Also done the same on Dom server in Plugin and features file as mentioned in the Ext Lib Installation guide.
Upvotes: 1
Views: 729
Reputation: 190
You can also use Bootstrap with a local webserver.:
C:\Program Files (x86)\IBM\Notes\Data\workspace\applications\eclipse
to
C:\Program Files (x86)\IBM\Notes\Data\domino\workspace\applications\eclipse
Bootstrap will work as a charm.
Upvotes: 0
Reputation: 3757
The error message indicates that the Bootstrap4XPages library isn't installed on the server (assuming you're accessing the application on the server).
Best practice to install plugins like this is, just as Per mentioned, through a so called update site database. That process is described here. Basically it involves the following steps:
add the update site to your notes.ini
file:
OSGI_HTTP_DYNAMIC_BUNDLES=updatesite.nsf
Don't forget to restart the HTTP task after you've installed the library. To check if it was succesfully installed you can issue the following command in the server console:
tell http osgi ss org.openntf
This command will show you the installed plugins from the org.openntf
package. It should list the Bootstrap plugin as org.openntf.xsp.bootstrap_<version>
.
Upvotes: 6