<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PeteStilgoe.com &#187; Sharepoint Webparts</title>
	<atom:link href="http://www.petestilgoe.com/category/sharepoint-webparts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.petestilgoe.com</link>
	<description>&#34;Be fearful when others are greedy, be greedy when others are fearful.”</description>
	<lastBuildDate>Mon, 30 Jan 2012 14:28:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Sharepoint 2010 CQWP: Make the CQWP portable by using tokens to point to the current site instead of static URL</title>
		<link>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-make-the-cqwp-portable-by-using-tokens-to-point-to-the-current-site-instead-of-static-url/</link>
		<comments>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-make-the-cqwp-portable-by-using-tokens-to-point-to-the-current-site-instead-of-static-url/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 15:56:48 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Sharepoint CQWP]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[cqwp]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=900</guid>
		<description><![CDATA[

Target the CQWP to the current site export the CQWP, Edit &#038; replace the WebUrl with below:
&#60;property name=&#34;WebUrl&#34; type=&#34;string&#34;&#62;~Site&#60;/property&#62;
To target the CQWP for the Site Collection its currently located on:
&#60;property name=&#34;WebUrl&#34; type=&#34;string&#34;&#62;~sitecollection&#60;/property&#62;

]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-make-the-cqwp-portable-by-using-tokens-to-point-to-the-current-site-instead-of-static-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint CQWP: XSL to link document icon to document and open in edit mode</title>
		<link>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-xsl-to-link-document-icon-to-document-and-open-in-edit-mode/</link>
		<comments>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-xsl-to-link-document-icon-to-document-and-open-in-edit-mode/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 13:58:08 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint / MOSS / WSS]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Sharepoint CQWP]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[xsl]]></category>
		<category><![CDATA[XSLT]]></category>
		<category><![CDATA[cqwp]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=898</guid>
		<description><![CDATA[

The xsl code will display &#038; make the document icon link to the sepcific document &#038; open it in edit mode in your content query webpart:

&#60;a href=&#34;{$SafeLinkUrl}&#34; title=&#34;{@LinkToolTip}&#34;&#62;
&#60;xsl:if test=&#34;$ItemsHaveStreams = &#039;True&#039;&#34;&#62;
                   &#60;xsl:attribute name=&#34;onclick&#34;&#62;
     [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-xsl-to-link-document-icon-to-document-and-open-in-edit-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint CQWP How to format date from mm/dd/yyyy to UK dd/mm/yyyy</title>
		<link>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-how-to-format-date-from-mmddyyyy-to-uk-ddmmyyyy/</link>
		<comments>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-how-to-format-date-from-mmddyyyy-to-uk-ddmmyyyy/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 09:02:29 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint / MOSS / WSS]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Sharepoint CQWP]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[xsl]]></category>
		<category><![CDATA[XSLT]]></category>
		<category><![CDATA[cqwp]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=895</guid>
		<description><![CDATA[

To format your Sharepoint content query webpart to UK date format do the following:
In your ItemStyle.xsl add the following line to your declarations:
xmlns:ddwrt=&#34;http://schemas.microsoft.com/WebParts/v2/DataView/runtime&#34;
Then use the following line to display &#038; format your date field in UK date format:
&#60;xsl:value-of disable-output-escaping=&#34;no&#34; select=&#34;ddwrt:FormatDate(string(@Modified), 2057, 5)&#34; /&#62;
@Modified is your date field that you want to format

]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2011/04/sharepoint-cqwp-how-to-format-date-from-mmddyyyy-to-uk-ddmmyyyy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a CQWP to display items from a link list</title>
		<link>http://www.petestilgoe.com/2010/12/using-a-cqwp-to-display-items-from-a-link-list/</link>
		<comments>http://www.petestilgoe.com/2010/12/using-a-cqwp-to-display-items-from-a-link-list/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 15:18:47 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint / MOSS / WSS]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[xsl]]></category>
		<category><![CDATA[cqwp]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=752</guid>
		<description><![CDATA[

If you point an OOTB CQWP to a Sharepoint Link List it will surface your links but each link will be displayed as (Blank) as its defaulting to display the Title column which is blank, it also links to the Link Item page as opposed to linking throught to the actual Link URL.
To fix this [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/12/using-a-cqwp-to-display-items-from-a-link-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint 2010: Styling the webpart header title</title>
		<link>http://www.petestilgoe.com/2010/12/sharepoint-2010-styling-the-webpart-header-title/</link>
		<comments>http://www.petestilgoe.com/2010/12/sharepoint-2010-styling-the-webpart-header-title/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 10:12:15 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Sharepoint CSS]]></category>
		<category><![CDATA[Sharepoint Styling]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=745</guid>
		<description><![CDATA[

To style the text of the webpart header you use the .ms-WPTitle class.
Some webarts automatically make the title of the webpart ie. a link to the specific list its pulling data from.
To style these headers use something like:

/* Webpart Header */
.ms-WPHeader {
	BACKGROUND-COLOR: #EEEEEE;
}
.ms-WPHeader td {
	border-bottom:1px solid #0066cc;
}
.ms-WPTitle,
.ms-WPTitle a:link,
.ms-WPTitle a:visited {
color:#990066;
}


]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/12/sharepoint-2010-styling-the-webpart-header-title/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sharepoint 2010: How to hide the quick launch menu</title>
		<link>http://www.petestilgoe.com/2010/09/sharepoint-2010-how-to-hide-the-quick-launch-menu/</link>
		<comments>http://www.petestilgoe.com/2010/09/sharepoint-2010-how-to-hide-the-quick-launch-menu/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 10:26:25 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Sharepoint Customisation]]></category>
		<category><![CDATA[Sharepoint How To]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[Content Editor Webpart]]></category>
		<category><![CDATA[Quick Launch Menu]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=671</guid>
		<description><![CDATA[

To hide the quick launch menu in Sharepoint 2010 add a content editor webpart (CEWP) at the bottom of your page with the following code in it:


/*--Hide Quick Launch --*/
#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}



]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/09/sharepoint-2010-how-to-hide-the-quick-launch-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying HTML in the Dataview Webpart (DVWP)</title>
		<link>http://www.petestilgoe.com/2010/07/displaying-html-in-the-dataview-webpart-dvwp/</link>
		<comments>http://www.petestilgoe.com/2010/07/displaying-html-in-the-dataview-webpart-dvwp/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 08:14:16 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint Designer]]></category>
		<category><![CDATA[Sharepoint DVWP]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[xsl]]></category>
		<category><![CDATA[dvwp]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Sharepoint Designer 2010]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=601</guid>
		<description><![CDATA[

If you try &#038; display rich html columns or any other columns that uses HTML in a DVWP it will display as the actual HTML as opposed to outputting it as HTML formatted text.
If you added your data using Sharepoint designer “Insert Selected Fields” you need view your DVWP code in SPD &#038; search for:
xsl:value-of [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/07/displaying-html-in-the-dataview-webpart-dvwp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to add selected web part</title>
		<link>http://www.petestilgoe.com/2010/05/unable-to-add-selected-web-part/</link>
		<comments>http://www.petestilgoe.com/2010/05/unable-to-add-selected-web-part/#comments</comments>
		<pubDate>Fri, 21 May 2010 08:11:30 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint Errors]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=581</guid>
		<description><![CDATA[

Unable to add selected web part(s)
QueryListPart: A Web Part or Web Form Control on this page cannot be displayed or imported.  The type could not be found or it is not registered as safe.
- Make sure the webpart is registered as safe in the web.config
- Make sure the assembly is accessible and in the [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/05/unable-to-add-selected-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to display most viewed documents from a Document Library</title>
		<link>http://www.petestilgoe.com/2010/05/how-to-display-most-viewed-documents-from-a-document-library/</link>
		<comments>http://www.petestilgoe.com/2010/05/how-to-display-most-viewed-documents-from-a-document-library/#comments</comments>
		<pubDate>Thu, 13 May 2010 06:45:58 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint / MOSS / WSS]]></category>
		<category><![CDATA[Sharepoint How To]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[XML Webpart]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=579</guid>
		<description><![CDATA[

Came accross an interesting solution on Linkedin to display most viewed Documents from a Document Library in a webpart.  I havnt tried it myself but sounds like it would work:
1) Install LogParser on Web App Server (Sharepoint Index Server) 
2) Setup a batch file with the LogParse query of your choice.
For example:
&#8220;C:\Program Files\Log Parser [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/05/how-to-display-most-viewed-documents-from-a-document-library/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to Prevent users from changing views in Sharepoint</title>
		<link>http://www.petestilgoe.com/2010/04/how-to-prevent-users-from-changing-views-in-sharepoint/</link>
		<comments>http://www.petestilgoe.com/2010/04/how-to-prevent-users-from-changing-views-in-sharepoint/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 09:51:11 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Sharepoint Views]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>

		<guid isPermaLink="false">http://www.petestilgoe.com/?p=574</guid>
		<description><![CDATA[

If you need to prevent users from seeing the view menu allowing them to pick which views they want to use you can remove this easily by:
Browse to the relevant list or library
Click Site Action and select Edit Page
On the Web Part Click edit –> click Modify Shared Web Part
Change Toolbar to either &#8216;Summary&#8217; or [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/04/how-to-prevent-users-from-changing-views-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

