<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Provisioning Content Query Web Part querying subsites in a structured and repeatable way</title>
	<atom:link href="http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/</link>
	<description>Innovation Matters &#124; SharePoint Server MVP &#124; ISSN 2210-9390</description>
	<lastBuildDate>Fri, 10 Feb 2012 18:00:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jeff angama</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-83710</link>
		<dc:creator>Jeff angama</dc:creator>
		<pubDate>Mon, 27 Jun 2011 12:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-83710</guid>
		<description>Thanks you for the great article. It really helped me. But I had a problem with I tried to integrate a content query webpart in the onet.xml.

I solved it and published a post about it
http://jeff-sharepoint-note.blogspot.com/2011/06/create-content-query-webpart-in-site.html</description>
		<content:encoded><![CDATA[<p>Thanks you for the great article. It really helped me. But I had a problem with I tried to integrate a content query webpart in the onet.xml.</p>
<p>I solved it and published a post about it<br />
<a href="http://jeff-sharepoint-note.blogspot.com/2011/06/create-content-query-webpart-in-site.html" rel="nofollow">http://jeff-sharepoint-note.blogspot.com/2011/06/create-content-query-webpart-in-site.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LOVE_MOSS_NOT</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-38588</link>
		<dc:creator>LOVE_MOSS_NOT</dc:creator>
		<pubDate>Mon, 28 Dec 2009 16:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-38588</guid>
		<description>Thank you! really helpful.

As always, pulling my hair with this wonderful and powerful product.</description>
		<content:encoded><![CDATA[<p>Thank you! really helpful.</p>
<p>As always, pulling my hair with this wonderful and powerful product.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-30224</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Wed, 14 Oct 2009 04:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-30224</guid>
		<description>@Mohamed: While you could base your provisioning process fully upon ONET.XML, it has some serious drawbacks.
First of all you would have to define in ONET.XML ALL the different Site Definitions. As working with ONET.XML isn&#039;t easy, it would take a lot of time to do it. Additionally you cannot really debug ONET.XML: it either works or doesn&#039;t. And if it breaks the ULS log is the only place where you can look for errors.
Then ONET.XML is not updateable: according to the SharePoint SDK modifying a Site Definition after instances of it have been provisioned is not supported.</description>
		<content:encoded><![CDATA[<p>@Mohamed: While you could base your provisioning process fully upon ONET.XML, it has some serious drawbacks.<br />
First of all you would have to define in ONET.XML ALL the different Site Definitions. As working with ONET.XML isn&#039;t easy, it would take a lot of time to do it. Additionally you cannot really debug ONET.XML: it either works or doesn&#039;t. And if it breaks the ULS log is the only place where you can look for errors.<br />
Then ONET.XML is not updateable: according to the SharePoint SDK modifying a Site Definition after instances of it have been provisioned is not supported.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamed Hachem</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-30174</link>
		<dc:creator>Mohamed Hachem</dc:creator>
		<pubDate>Tue, 13 Oct 2009 20:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-30174</guid>
		<description>Actually, when using onet.xml file for deploying solution. if you put the webpart within module and set WebUrl property to ~site top level url will be returned dynamically.

It is not the case when you add webpart mannually or you deploy it using wsp builder because only the module context allow for the interpretation of the top level url. 

Since I am using onet.xml it is an awsome solution hope that other people will use</description>
		<content:encoded><![CDATA[<p>Actually, when using onet.xml file for deploying solution. if you put the webpart within module and set WebUrl property to ~site top level url will be returned dynamically.</p>
<p>It is not the case when you add webpart mannually or you deploy it using wsp builder because only the module context allow for the interpretation of the top level url. </p>
<p>Since I am using onet.xml it is an awsome solution hope that other people will use</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-9454</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Thu, 04 Dec 2008 19:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-9454</guid>
		<description>@Paul: As I&#039;ve mentioned I&#039;ve used the token inside ONET.XML. That&#039;s where the web part is being provisioned. From what you&#039;re saying you&#039;ve been trying to use the token within the CQWP deployed as a web control. I don&#039;t think it will work as the token is being replaced during the deployment and not on run-time.</description>
		<content:encoded><![CDATA[<p>@Paul: As I&#039;ve mentioned I&#039;ve used the token inside ONET.XML. That&#039;s where the web part is being provisioned. From what you&#039;re saying you&#039;ve been trying to use the token within the CQWP deployed as a web control. I don&#039;t think it will work as the token is being replaced during the deployment and not on run-time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Brown</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-9449</link>
		<dc:creator>Paul Brown</dc:creator>
		<pubDate>Thu, 04 Dec 2008 16:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-9449</guid>
		<description>That doesn&#039;t make as much sense as it should, as my pseudo-markup&#039;s been removed. It should say something like the webpart has in its XML in the page layout -

 [ PublishingWebControls:ContentByQueryWebPart ... WebUrl=&quot;~Site&quot; ... ]
  Other stuff here
 [/PublishingWebControls:ContentByQueryWebPart]</description>
		<content:encoded><![CDATA[<p>That doesn&#039;t make as much sense as it should, as my pseudo-markup&#039;s been removed. It should say something like the webpart has in its XML in the page layout -</p>
<p> [ PublishingWebControls:ContentByQueryWebPart ... WebUrl="~Site" ... ]<br />
  Other stuff here<br />
 [/PublishingWebControls:ContentByQueryWebPart]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Brown</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-9447</link>
		<dc:creator>Paul Brown</dc:creator>
		<pubDate>Thu, 04 Dec 2008 16:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-9447</guid>
		<description>Humm - this doesn&#039;t work for me, which is a pity as it looked a very promising solution to a problem I&#039;m having.

Of course the chances are that I&#039;m doing something wrong, but if I understand you correctly this is a fairly simple concept.

I edited my .webpart as per your screenshot above to have &#039;~Site&#039; as the WebUrl, which when it&#039;s imported into my layout becomes 
  Other stuff here


The trouble is, in my output page, I get nothing. If I then replace WebUrl=&quot;/MYSUBSITE&quot; then it works as expected (except my layout is then hard coded to a specific subsite, i.e. the problem I&#039;m trying to get around.

Is there something obvious I&#039;m missing?</description>
		<content:encoded><![CDATA[<p>Humm &#8211; this doesn&#039;t work for me, which is a pity as it looked a very promising solution to a problem I&#039;m having.</p>
<p>Of course the chances are that I&#039;m doing something wrong, but if I understand you correctly this is a fairly simple concept.</p>
<p>I edited my .webpart as per your screenshot above to have &#039;~Site&#039; as the WebUrl, which when it&#039;s imported into my layout becomes<br />
  Other stuff here</p>
<p>The trouble is, in my output page, I get nothing. If I then replace WebUrl=&#034;/MYSUBSITE&#034; then it works as expected (except my layout is then hard coded to a specific subsite, i.e. the problem I&#039;m trying to get around.</p>
<p>Is there something obvious I&#039;m missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-8011</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Sat, 08 Nov 2008 13:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-8011</guid>
		<description>Thanks for the link, Jeremy :)</description>
		<content:encoded><![CDATA[<p>Thanks for the link, Jeremy :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Thake</title>
		<link>http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/comment-page-1/#comment-8000</link>
		<dc:creator>Jeremy Thake</dc:creator>
		<pubDate>Sat, 08 Nov 2008 05:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/provisioning-content-query-web-part-querying-subsites-structured-repeatable-deployment/#comment-8000</guid>
		<description>I have written a series and one of the parts goes into detail on how to provision a CQWP via API code in a Feature
http://wss.made4the.net/archive/2008/06/07/solution-development-in-sharepoint-2007-part-5.aspx</description>
		<content:encoded><![CDATA[<p>I have written a series and one of the parts goes into detail on how to provision a CQWP via API code in a Feature<br />
<a href="http://wss.made4the.net/archive/2008/06/07/solution-development-in-sharepoint-2007-part-5.aspx" rel="nofollow">http://wss.made4the.net/archive/2008/06/07/solution-development-in-sharepoint-2007-part-5.aspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

