Extensions are
defined in the
ws-extensions.xml
file in
%ENDECA_TOOLS_CONF%\conf
(on Windows) or
$ENDECA_TOOLS_CONF/conf
(on UNIX).
The
default
ws-extensions.xml
file is as follows:
<?xml version="1.0" encoding="UTF-8"?> <extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="extensions.xsd"> </extensions>
Each extension is defined in an extension element within extensions. You can specify as many additional extensions as you need by adding more extension elements. For a full list of list of required and optional attributes, see Extension element attributes.
This example of a
ws-extensions.xml
file defines a simple extension that
enables a link to the Endeca Web site.
<?xml version="1.0" encoding="UTF-8"?> <extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="extensions.xsd"> <extension id="endecaHome" defaultName="Endeca home page" defaultDescription="Visit the Endeca home page" url="http://www.endeca.com"> </extension> </extensions>