Deploying the extension library - client edition
Unless you are living under an XRock your next XPages project will use the Extension Library. While installing it into your development environment is easy (just follow the instructions) and deployment to your 8.5.2 servers got a lot easier, deploying it to XPiNC application takes a few steps more:
As usual YMMV
- You need an update site. Since you deployed it to the servers you would have one already
- You need a Widget catalog (typically called toolbox.nsf). Luckily that's just a File - Application - New
- You need an entry in the widget catalog for the extension library plug-in with a widget.xml describing the plug-in (details below)
- You need a client policy that points all Notes clients to the Widget catalog and makes the category you assigned to the Extlib Widget an automatic mandatory install
- Sit back and relax and see your extension library deployed
<?xml version="1.0" encoding="UTF-8"?>
<webcontextConfiguration version="1.1">
<palleteItem id="com.ibm.xsp.extlib.feature" imageUrl=""
providerId="com.ibm.rcp.toolbox.prov.provider.ToolboxProvisioning"
title="OpenNTF Extension Library for XPages"
url="nrpc://yourserver.com/updatesite.nsf/site.xml"
hideThumbnail="true">
<preferences />
<data>
<installManifest>
<![CDATA[
<install>
<installfeature description="OpenNTF Extension Library for XPages" id="com.ibm.xsp.extlib" name="Test Feature ABX" version="8.5.2">
<requirements>
<feature id="com.ibm.xsp.extlib.feature" match="greaterOrEqual" version="8.5.2" shared="true" url="nrpc://yourserver.com/updatesite.nsf"/>
</requirements>
</installfeature>
</install>
]]>
</installManifest>
</data>
</palleteItem>
</webcontextConfiguration>
Update: IdoNotes (Chris Miller) has a complete video walkthru of the process.
<webcontextConfiguration version="1.1">
<palleteItem id="com.ibm.xsp.extlib.feature" imageUrl=""
providerId="com.ibm.rcp.toolbox.prov.provider.ToolboxProvisioning"
title="OpenNTF Extension Library for XPages"
url="nrpc://yourserver.com/updatesite.nsf/site.xml"
hideThumbnail="true">
<preferences />
<data>
<installManifest>
<![CDATA[
<install>
<installfeature description="OpenNTF Extension Library for XPages" id="com.ibm.xsp.extlib" name="Test Feature ABX" version="8.5.2">
<requirements>
<feature id="com.ibm.xsp.extlib.feature" match="greaterOrEqual" version="8.5.2" shared="true" url="nrpc://yourserver.com/updatesite.nsf"/>
</requirements>
</installfeature>
</install>
]]>
</installManifest>
</data>
</palleteItem>
</webcontextConfiguration>
As usual YMMV
Posted by Stephan H Wissel on 19 May 2011 | Comments (a) | categories: XPages