<?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/tag/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>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 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>
		<item>
		<title>Sharepoint Javascript Error: &#8216;style.display&#8217; is not null or not an object</title>
		<link>http://www.petestilgoe.com/2010/04/sharepoint-javascript-error-style-display-is-not-null-or-not-an-object/</link>
		<comments>http://www.petestilgoe.com/2010/04/sharepoint-javascript-error-style-display-is-not-null-or-not-an-object/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 07:22:02 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Sharepoint Errors]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>

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

If you are receiving the following error when trying to access the &#8216;edit&#8217; menu of a webpart on a page:
&#8216;style.display&#8217; is not null or not an object
It is likely that you have some random/extra code in another webpart on the page, this typically happens if you cut &#038; paste text from another location onto the [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2010/04/sharepoint-javascript-error-style-display-is-not-null-or-not-an-object/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to add extra fields to your CQWP that dont display as standard</title>
		<link>http://www.petestilgoe.com/2009/12/how-to-add-extra-fields-to-your-cqwp-that-dont-display-as-standard/</link>
		<comments>http://www.petestilgoe.com/2009/12/how-to-add-extra-fields-to-your-cqwp-that-dont-display-as-standard/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 15:04:34 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Content Query Webpart]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>
		<category><![CDATA[cqwp]]></category>

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

1) Export your Content Query Web part to your desktop
2) Open it with Notepad and look for the following line of code:


3) Change this line to the following, and replace the portion MYINTERNALCOUMNNAME with the internal column name for your column

MYINTERNALCOUMNNAME
4) Save your file
5) Import the web part
- Edit page
- Add Web Parts
- Switch to [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2009/12/how-to-add-extra-fields-to-your-cqwp-that-dont-display-as-standard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Formatting Text / Questions in Sharepoint Surveys</title>
		<link>http://www.petestilgoe.com/2009/09/formatting-text-questions-in-sharepoint-surveys/</link>
		<comments>http://www.petestilgoe.com/2009/09/formatting-text-questions-in-sharepoint-surveys/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 13:13:27 +0000</pubDate>
		<dc:creator>peter.stilgoe</dc:creator>
				<category><![CDATA[Content Editor Webpart]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Sharepoint / MOSS / WSS]]></category>
		<category><![CDATA[Sharepoint Surveys]]></category>
		<category><![CDATA[Sharepoint Webparts]]></category>

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

If you have ever tried to format text and / or insert line breaks into your questions in sharepoint surveys, you&#8217;ll know its not an easy task.  However by adding some simple javascript you can format the text in your questions as you want.
Basically at the bottom of your survey page add a Content [...]]]></description>
		<wfw:commentRss>http://www.petestilgoe.com/2009/09/formatting-text-questions-in-sharepoint-surveys/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

