The Link Builder editor allows the content administrator to specify a link to a static page, a single selected record, or a navigation state.

The Link Builder uses the Select Records dialog to enable the content administrator to browse to a single record or a particular navigation state in the data set (which may include search terms, dimension refinements, or a combination of both). Alternately, the Link Builder also supports entering an absolute URL to a static resource.

To add a Link Builder to a template:

The Link Builder must be configured with a path to a data service in order to display the Select Records dialog.

Below is the configuration for the Link Builder in the editor configuration file for the Discover Electronics reference application, located at <app dir>\config\import\configuration\tools\xmgr\editors.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!-- additional elements removed from this example -->
<EditorConfig xmlns="http://endeca.com/schema/editor-config/2010">
    <EditorModule url="/ifcr/tools/pbx/modules/editors.swf">
        <!-- additional elements removed from this example -->
                     <Editor name="editors:LinkBuilderEditor">           
            <EditorConfig resourcePath="/configuration/tools/xmgr/services/endecaBrowserService.json" />        
        </Editor>
                     <!-- additional elements removed from this example -->
    </EditorModule>
    <GlobalEditorConfig></GlobalEditorConfig>
</EditorConfig>

To publish and view changes to the editor configuration file, run the <app dir>\control\set_editors_config script and clear your browser cache.


Copyright © Legal Notices