XperienCentral can integrate content from external applications together with its own content. This functionality makes it possible to show content retrieved from a web service, embed an external search engine from another website, and so forth. This type of customization requires little knowledge about the implementation of XperienCentral because all complicated tasks, such as calling components or passing on parameters and other configurations are handled by XperienCentral. A junior Java programmer with knowledge on how to use XperienCentral's user interface should be able to integrate external applications quickly and easily.
The application integration functionality consists of one or more servlet filters which are applied to the content retrieved from the external application in the defined order. Servlet filters are part of the J2EE specification. The resulting content, after all the filters have been applied is then rendered on a page in XperienCentral.
Four application integration filters come standard with XperienCentral:
WMInclude
filter retrieves the content of an external web application.WMReplacementsFilter
executes a series of replacements in the content that the WMInclude
filter has retrieved. These replacements strip away unnecessary HTML and convert other HTML so that it can be rendered in the XperienCentral front-end in your design template.XSLFilter
converts XML into HTML.IncludeFileFilter
, content from a file on disk can be displayed.See Filters for complete information about the filters that can used in an external application integration.
Application integration works as follows:
WMIncludeFilter
) sends a request to the server of the external web application.WMReplacementsFilter
).
The replacements perform the following tasks:
<img>
) to valid URLs containing the images.(<body>
,<head>
, and so forth).The precise replacements that are made vary from application to application. Many applications can be integrated using the standard filters, however, you may need to create one or more custom filters that handle cases specific to the application you are integrating. This can be accomplished using the Integration API.
To integrate an external application in XperienCentral, you will typically follow these steps:
WMIncludeFilter
.To add an external application, follow these steps: