<?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: Content Query Web Part vs. Custom Aggregation Web Part</title>
	<atom:link href="http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/</link>
	<description>Innovation Matters &#124; SharePoint Server MVP &#124; ISSN 2210-9390</description>
	<lastBuildDate>Thu, 09 Feb 2012 05:22:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-114430</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Mon, 02 Jan 2012 07:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-114430</guid>
		<description>@Aankur: This is definitely not the best way to approach cross-Site Collection aggregations. The approach you described is not scalable and while it might work for just a few Site Collection it will very likely be teribly slow as the environment grows. If you need to query data from multiple Site Collections I suggest you use search which is way more performant than any code-based approach.</description>
		<content:encoded><![CDATA[<p>@Aankur: This is definitely not the best way to approach cross-Site Collection aggregations. The approach you described is not scalable and while it might work for just a few Site Collection it will very likely be teribly slow as the environment grows. If you need to query data from multiple Site Collections I suggest you use search which is way more performant than any code-based approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aankur</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-114416</link>
		<dc:creator>Aankur</dc:creator>
		<pubDate>Mon, 02 Jan 2012 04:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-114416</guid>
		<description>Hello everyone,

I am new to Sharepoint 2010 (I have no experience in any of the previous build of sharepoint), Currently I got a chance to work on a Intranet portal, its a Sharepoint 2010 foundation based solution. Recently I worked on a Cross Site Rollup webpart. There are some custom properties in the webpart where we take web application, sitecollection and websites url as input, Name of the list and some other required information. 

In code we create a list object and collect all site collections within a webapplication using a loop, all websites with in a sitecollection again using a loop. 

And finally a loop fetches the actual data from list from all websites and show it in a grid or any listing control.

I am not sure weather this code is optimized or having best practice. Please help me to know the best way / best practices for such kind of cross site rollup webparts.

Apologies, if I use any wrong syntactical statement / spelling mistakes.

Thanks &amp; Regards

Aankur</description>
		<content:encoded><![CDATA[<p>Hello everyone,</p>
<p>I am new to Sharepoint 2010 (I have no experience in any of the previous build of sharepoint), Currently I got a chance to work on a Intranet portal, its a Sharepoint 2010 foundation based solution. Recently I worked on a Cross Site Rollup webpart. There are some custom properties in the webpart where we take web application, sitecollection and websites url as input, Name of the list and some other required information. </p>
<p>In code we create a list object and collect all site collections within a webapplication using a loop, all websites with in a sitecollection again using a loop. </p>
<p>And finally a loop fetches the actual data from list from all websites and show it in a grid or any listing control.</p>
<p>I am not sure weather this code is optimized or having best practice. Please help me to know the best way / best practices for such kind of cross site rollup webparts.</p>
<p>Apologies, if I use any wrong syntactical statement / spelling mistakes.</p>
<p>Thanks &amp; Regards</p>
<p>Aankur</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-82800</link>
		<dc:creator>Suresh</dc:creator>
		<pubDate>Mon, 20 Jun 2011 10:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-82800</guid>
		<description>How to see the CAMEL query for the CQWC webpart?
I want know the  Target audience filter CAMEL Query for the CQWC Webpart.

Thanks
Suresh</description>
		<content:encoded><![CDATA[<p>How to see the CAMEL query for the CQWC webpart?<br />
I want know the  Target audience filter CAMEL Query for the CQWC Webpart.</p>
<p>Thanks<br />
Suresh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-81192</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Thu, 02 Jun 2011 17:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-81192</guid>
		<description>@Ronak: Unfortunately you won&#039;t be able to use the CrossListQueryCache in a Silverlight App as it&#039;s not available in the Silverlight OM. As a workaround you would have to create a Web/WCF service that would use the CrossListQueryCache class in the server API and then send you the results.</description>
		<content:encoded><![CDATA[<p>@Ronak: Unfortunately you won&#039;t be able to use the CrossListQueryCache in a Silverlight App as it&#039;s not available in the Silverlight OM. As a workaround you would have to create a Web/WCF service that would use the CrossListQueryCache class in the server API and then send you the results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronak</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-81180</link>
		<dc:creator>Ronak</dc:creator>
		<pubDate>Thu, 02 Jun 2011 13:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-81180</guid>
		<description>HI Waldek your blog as usual help me to find good information so thanks for it.Now i am working in SP2010 and i have created Silverlight Webpart to rollup events from Calendar lists but the performance is slow so search on web brought me here and now i am thinking about use CrosslistQueryInfo and CrossListQueryCache class.first was trying to get around this classes in Console application but always get Object reference Null error.i am trying to get rollup all calendar list Under some site /abc.
i got this error when i called  dt = clqc.GetSiteData(site) if i pass spweb its works but doesnt cache as jeff Delton blog post.
can you please advise me any help will be appreciated.</description>
		<content:encoded><![CDATA[<p>HI Waldek your blog as usual help me to find good information so thanks for it.Now i am working in SP2010 and i have created Silverlight Webpart to rollup events from Calendar lists but the performance is slow so search on web brought me here and now i am thinking about use CrosslistQueryInfo and CrossListQueryCache class.first was trying to get around this classes in Console application but always get Object reference Null error.i am trying to get rollup all calendar list Under some site /abc.<br />
i got this error when i called  dt = clqc.GetSiteData(site) if i pass spweb its works but doesnt cache as jeff Delton blog post.<br />
can you please advise me any help will be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-546</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Tue, 27 May 2008 14:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-546</guid>
		<description>You&#039;re welcome, TJ. Good luck</description>
		<content:encoded><![CDATA[<p>You&#039;re welcome, TJ. Good luck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TJ</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-545</link>
		<dc:creator>TJ</dc:creator>
		<pubDate>Tue, 27 May 2008 13:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-545</guid>
		<description>That&#039;s excellent, much appreciated.

It seems I have chosen the correct route this time. Extending the CQWP and adding a few extra fields to allow customization. I will then use the values to build a CAML query and set the QueryOverride property to the built CAML.

Thanks for your reply and advice.</description>
		<content:encoded><![CDATA[<p>That&#039;s excellent, much appreciated.</p>
<p>It seems I have chosen the correct route this time. Extending the CQWP and adding a few extra fields to allow customization. I will then use the values to build a CAML query and set the QueryOverride property to the built CAML.</p>
<p>Thanks for your reply and advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-513</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Fri, 23 May 2008 15:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-513</guid>
		<description>If it&#039;s only query that you need to extend, you could try using the QueryOverride property. It basically allows you to use raw CAML query. The downside is, the end users won&#039;t be able to use the GUI to modify the query, unless you extend the standard CQWP and add an extra field to the ToolPart which will expose the QueryOverride property.

Extending the CQWP with the missing functionality is definitely a way to go. We have seen such approaches in many scenario&#039;s including the MSIT web site. Also Andrew Connell (MOSS MVP) shows CQWP customization using that approach.

As for the WSS Web Part, I think that it&#039;s all about compatibility. Yes, the WSS Web Part provides some extra functionality but the reusability is less comparing to the ASP.NET Web Part.

The test files: unfortunately, some time ago my hard drive has crashed. It contained the only copy of the test Web Parts. I&#039;ve been thinking of rebuilding the whole case, but there are some other projects I have to work on. I would still like to answer your questions regarding the article.</description>
		<content:encoded><![CDATA[<p>If it&#039;s only query that you need to extend, you could try using the QueryOverride property. It basically allows you to use raw CAML query. The downside is, the end users won&#039;t be able to use the GUI to modify the query, unless you extend the standard CQWP and add an extra field to the ToolPart which will expose the QueryOverride property.</p>
<p>Extending the CQWP with the missing functionality is definitely a way to go. We have seen such approaches in many scenario&#039;s including the MSIT web site. Also Andrew Connell (MOSS MVP) shows CQWP customization using that approach.</p>
<p>As for the WSS Web Part, I think that it&#039;s all about compatibility. Yes, the WSS Web Part provides some extra functionality but the reusability is less comparing to the ASP.NET Web Part.</p>
<p>The test files: unfortunately, some time ago my hard drive has crashed. It contained the only copy of the test Web Parts. I&#039;ve been thinking of rebuilding the whole case, but there are some other projects I have to work on. I would still like to answer your questions regarding the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TJ</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-512</link>
		<dc:creator>TJ</dc:creator>
		<pubDate>Fri, 23 May 2008 13:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-512</guid>
		<description>Nice article.

I&#039;m in the process of needing to take something like the content query web part but add a little more functionality to it. I need to add a more complex query than it by default it allows.

Initially I have set out by inheriting from the Content Query Web Part itself and are building on that. Would you recommend this as being an OK method?

Secondly if there are such positives to be gained from using the SharePoint base web part why do Microsoft recommend against doing such a thing?

Thirdly, any chance your test files from the above could be published for download?

Many thanks</description>
		<content:encoded><![CDATA[<p>Nice article.</p>
<p>I&#039;m in the process of needing to take something like the content query web part but add a little more functionality to it. I need to add a more complex query than it by default it allows.</p>
<p>Initially I have set out by inheriting from the Content Query Web Part itself and are building on that. Would you recommend this as being an OK method?</p>
<p>Secondly if there are such positives to be gained from using the SharePoint base web part why do Microsoft recommend against doing such a thing?</p>
<p>Thirdly, any chance your test files from the above could be published for download?</p>
<p>Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/content-query-web-part-vs-custom-aggregation-web-part/comment-page-1/#comment-299</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Mon, 07 Apr 2008 04:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/2008/03/21/content-query-web-part-vs-custom-aggregation-web-part/#comment-299</guid>
		<description>Hello Jeff,

Thank you for your comment.
I have indeed used the GetSiteData method as it&#039;s the only method available in the CrossListQueryCache to aggregate data. The results have surprised me as well. Because the CrossListQueryCache class is being used by the Content Query Web Part I expected comparable results - just like you. Unfortunately looking at how the Content Query Web Part works didn&#039;t take me any further. So any suggestions are welcome!</description>
		<content:encoded><![CDATA[<p>Hello Jeff,</p>
<p>Thank you for your comment.<br />
I have indeed used the GetSiteData method as it&#039;s the only method available in the CrossListQueryCache to aggregate data. The results have surprised me as well. Because the CrossListQueryCache class is being used by the Content Query Web Part I expected comparable results &#8211; just like you. Unfortunately looking at how the Content Query Web Part works didn&#039;t take me any further. So any suggestions are welcome!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

