Purpose

The Custom Display Adapter is a web part that stores XSLT/Java Script for custom displays. It enables developers to create customized views of data, and turn XML into HTML. While the Grid and Calendar Display Adapters provide a basic format to start with, the Custom Display Adapter enables you to start from scratch and create exactly the views your users need.

Common Use Variables

Any parameters that reference a variable support the following variables:

    <%CurrentPageFolder%> - The current folder URL where the web part resides (e.g., http://www.company.com/sites/site1/connections)

    <%HostName%> - The host name of the site where the web part resides (e.g., www.company.com)

    <%SiteSecurityType%> - The protocol type of the site where the web part resides (e.g., http://)

    <%SiteURL%> - The absolute path to the site where the web part resides (e.g., http://www.company.com/sites/site1)

Example: <%SiteSecurityType%><%HostName%>/data/connections/dataprovider.aspx