Setup Properties

Display Replacement Variables

Specify any parameters that should be replaced within the display XSL. Separate each parameter with a semi-colon. For each parameter specified, use the parameter name in the XSL as "%parameter%".

Display XSL

XSL used to display the XML captured from an external XML source. This property also supports the Common Use Variables stated at the beginning of this help topic. Inside of your XSL, you can use the following variables:

•    [currentmonthend] – The last day in the current month

•    [currentmonthstart] – The first day in the current month

•    [currentweekend] – The last day in the current week

•    [currentweekstart] – The first day in the current week

•    [currentyearend] – The last day in the current year

•    [currentyearstart] – The first day in the current year

•    [hostname] – The host name of the site where the web part resides (e.g., www.company.com)

•    [me] – The currently logged in user

•    [meemial] – The currently logged  in user’s email

•    [mei] – Includes the ID of the user along with their display name

•    [meid] – The currently logged in user’s ID

•    [meloginname] – The currently logged in user’s name (domain\user)

•    [onemonthagoend] – The last day of last month

•    [onemonthagostart] – The first day of last month

•    [onemonthfromnowend] – The last day of next month

•    [onemonthfromnowstart] – The first day of next month

•    [oneweekagoend] – The last day of the previous week

•    [oneweekagostart] – The first day of the previous week

•    [oneweekfromnowend] – The last day of next week

•    [oneweekfromnowstart] – The first day of next week

•    [quarter1end] – The last day in the first quarter of the current year

•    [quarter1start] – The first day in the first quarter of the current year

•    [quarter2end] – The last day in the second quarter of the current year

•    [quarter2start] – The first day in the second quarter of the current year

•    [quarter3end] – The last day in the third quarter of the current year

•    [quarter3start] – The first day in the third quarter of the current year

•    [quarter4end] – The last day in the fourth quarter of the current year

•    [quarter4start] – The first day in the fourth quarter of the current year

•    [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)

•    [today] – Today's date

•    [todayrfc] – The current date in RFC format (2010-01-01T14:00:00Z)

•    [twoweeksagoend] – The last day of the week before last

•    [twoweeksagostart] – The first day of the week before last

•    [twoweeksfromnowend] – The last day of the week after next

•    [twoweeksfromnowstart] – The first day of the week after next

NOTE 1: The filter functions [SiteTitle] and [SiteURL] functions are no longer supported.

NOTE 2: The date functions listed above look for list items with a date format of month/date/year (e.g., June 15, 2007 stored as 6/15/2007). As a result, it is not recommended that they be used if international date structures are utilized (e.g., June 15, 2007 stored as 15/6/2007).

 

Options:

•    "[file]="

Use this option to specify a URL to an XSL Stylesheet Template

Example: [file]=<%SiteURL%>/Connections/TasksXSL.xml

•    <xsl:stylesheet>…</xsl:stylesheet>

Use this option to specify the XSL Stylesheet XML directly within the property

Example:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<table>

<tr>

<xsl:for-each select="NewDataSet/Table1">

                <td>

<xsl:value-of select="Title" />

</td>

</xsl:for-each>

</tr>

</table>

</xsl:template>

</xsl:stylesheet>

 

Extra Data

This property controls the extra content collected by the SharePoint Data Provider from a list. The following items are available to be captured:

•    SiteURL

•    ListURL

•    Site

•    List

•    EditPage

•    DisplayPage

•    NewPage

Filter XML

Use to filter the results of the sites, lists, and folders collected. Specify each Type Option within the Type element and specify the text to look for in the Contains element. If more than one filter, create each within its own Filter node.

Site Type Options

•    Title

•    URL

•    Type

•    Template

List Type Options

•    Title

•    URL

•    Type

•    Template

Folder Type Options

•    Site

•    List

Example:

<Filters>

<Filter>

<Field>Type</Field>

<Contains>Announcements</Contains>

</Filter>
<Filter>…</Filter>

</Filters>

Back to Top

 

Include Site List Data

Controls if extra data about list items is created during the render process.

No Items Found XML

Specify the XML to display if no items are returned.

Example:

<NewDataSet/>

Output to XML

When enabled, will only display the web part contents within a web part page, preventing anything else from showing on the page. After this feature is enabled, you will need to add "?OverrideXML=true" or "?version=coras" to the URL in order to modify the web part properties.

Output XML Web Part Name

Identify the OXMLWPName that must be called if you want this web part to run. If ?/&OXMLWPName=THISPROPERTY  is not found in the URL or Post to this page, the web part will not run. Use this in combination with the property Output as XML Only property.

Default: %Auto%

Example: MyWebPart

Page Call: default.aspx?OXMLWPName=MyWebPart

Show Add Form URL

Controls if the Add Form URL for the list should be stored in the result.

Show Folders

Controls if folders are displayed in the result. Requires Show Sites and/or Show Lists.

Show Hidden Lists

Controls if hidden lists should be displayed in the result.

Show Lists

Controls if lists are displayed in the result.

Show Object Type

Controls if the list type should be stored in the result.

Show Server Relative URL

Controls if the server’s relative URL is stored in the result.

Show Sites

Controls if sites are displayed in the result.

Site Levels

How many levels deep should be traversed by the web part.

Example:             1

Site URL

Controls the beginning sites that will be evaluated. For more than one site, separate each with a  semi-colon.

Example:             http://site1.com/;http://site2.com/sites/site2

Site URL Parameter

Controls the name of the parameter that allows Site URLs to be passed into the working web part.

Example:             SiteURL

Site XML

Specify the URL to the XML that represents the sites that should be collected. (Example: http://site1.com/sites/site1/sitedirectory.aspx)

The resulting XML must be formatted as: (Specify each URL within a SiteURL node)

<ParentNode> <!-- You Can Alter This Node Title -->

<ChildNode> <!-- You Can Alter This Node Title -->

<SiteURL>http://www.site.com/data.aspx</SiteURL>

<SiteURL>http://www.site2.com/data1.aspx</SiteURL>

</ChildNode>

</ParentNode>

Start at Top Level of Site Collection

Controls if the web part will start at the top of the site collection versus the location specified in the Site URL property or the current site.

Store Parent Site

Controls if the parent site data will be stored in the result.

Store Parent ID for Top Site

Controls if the Parent ID of the top site is stored in the result. This is valuable if you need the resulting XML to not store an ID for the Parent.

Store Tree Expand Mode Type

Controls the text returned if the site is not the parent site. This is for the Tree Display Adapter.

Table Name

Controls the parent table node name for data returned from SharePoint.

Back to Top