Imtech Content Query Web Part v14 now with EXSLT

, , ,

Recently I published a new extended version of the Content Query Web Part. I extended the SharePoint 2010 version of CQWP with support for paging the results which is one of the things that our customers ask for very often. But that’s not the end of the extensibility possibilities of the CQWP. In this version I extended the Imtech Content Query Web Part even further by adding additional capabilities which make working with the CQWP even easier. Introducing: Imtech Content Query Web Part v14.2!

The first version of the Imtech Content Query Web Part that I published was focused around support for paging. Next to that I added a custom Editor Pane that makes it easier to hook up custom XSLT stylesheets.

Query section of the settings of Imtech Content Query Web PartIn the second version I extended the CQWP even further. This time I focused on working with custom data. The new section in the Imtech CQWP Editor Pane allows you to specify custom query and should you need to include some custom columns the old way, you can use the Common View Fields and the Data Column Renames properties.

One more thing that I added are custom XSLT functions from the EXSLT namespace. I’ve used those really a lot in the most of MOSS 2007 projects that I worked on, so they will probably get very handy in SharePoint 2010 as well. And should you still be missing something, you can always extend the Imtech Content Query Web Part further and add your own functionality.

Check out the new version of the Imtech Content Query Web Part on CodePlex.


Possibly related posts

22 Responses to “Imtech Content Query Web Part v14 now with EXSLT”

  1. Daniele Guarneri Says:

    Hi Waldek,
    where can I find a list of the Extention Functions implemented in Microsoft XML Transformer?

  2. Waldek Mastykarz Says:

    @Daniele: which functions do you mean exactly, the one from the default namespace or the one from the msxsl namespace?

  3. Daniele Guarneri Says:

    Sorry Waldek,
    I don't understand how I can use this new CQWP with EXSLT namespace. What EXSLT namespace should I put in the XSLT template? Because there is a different namespace for each module. For example "xmlns:date="http://exslt.org/dates-and-times" for 'Date and Time' module. My first question means, which EXSLT functions work with this CQWP?

  4. JK Says:

    Hi,
    I added a Imtech CQWP on a page in SP2010. It works fine but after editing this page in SPD2010 in advanced mode. This web part shows error. It says "Web Part Error: An unexpected error has occurred"
    Has anyone experienced this problem before?
    any solution?

  5. izmir chat Says:

    ARF Controls maybe look nice – I even used it on my contact form and Imay use them for RSS – but, without proper documentation are useless. Even this site , who tries to promote them, doesn't have proper documentation.

  6. nidal Says:

    Very useful webpart, thx to share it with us

    i place the webpart and it works fine. but when i use it in a scrolled page whenever i switch between pages it get me back to the top of page and i should scroll down to see the CQWP on each time. any suggestion to maintain scrolling position ?

  7. Waldek Mastykarz Says:

    @nidal: You could create an anchor on the page such as

    and then you would append #myOverview to the page link.

  8. TexasT Says:

    I deployed the solution, activated the feature, uploaded the 2 xsl's, and added the webpart to the page. I see my data presented, but I do not see paging. Is there something missing? Could you offer some setup instructions after the webpart has been added to the page?

    Awesome looking webpart, though. I can see the usefulness.

  9. Waldek Mastykarz Says:

    @TexasT: Did you configure paging in the paging section of the Web Part settings? After adding the ECQWP you have to set the name of the paging parameter (eg. p) and the number of items that you want to see per page. The last thing is to choose an Item Style that has a reference to the paging template.

  10. Joe Thaworntaweewong Says:

    Awesome work! Thanks for sharing.

    One question I have is how do the "Query Override" and "Lists Override" work?

    Thanks again.

  11. Waldek Mastykarz Says:

    @Joe: Query Override allows you to provide your own CAML query. As for List Override you can find more information on MSDN at http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.lists.aspx

  12. Joe Thaworntaweewong Says:

    Thanks Waldek for getting back with my question so quickly.

    I just have a follow-up question regarding Query Override. Can I use PageQueryString in the CAML supplied to Query Override field? The reason I ask is that I am trying to see if I can have more than 3 filters in a CQWP as I have maxed out on the one that I'm working on.

    Thanks again for your help!

  13. Waldek Mastykarz Says:

    @Joe: When using QueryOverride you can include as many filters as you want. It's totally up to you to construct the CAML query.

  14. Mike Foley Says:

    Waldek, I've been using this verion of the CQWP for a bit. It there a way to preserve other parameters on the command line when paging is used? i.e. if I use the default 'p' parameter for paging, when I hit page two, any parameters in the URL are replaced with p=2. I was using a filter URL parameter which works great for the first page, but then is overwritten when page two or more is requested using the paging UI.

  15. Waldek Mastykarz Says:

    @Mike: Unfortunately, the Web Part you're referring to, doesn't provide access to other query string parameters. The good news is, that Mavention offers a newer version of the CQWP that allows you to access all query string parameters others than the paging parameter using a XSL parameter. As it's a commercial product you would however have to purchase a license.

  16. Mike Foley Says:

    Thanks for the reply! I'll check out the Mavention version. However, it isn't immediately obvious which "Prodecten" this is on the Mavention site. Do you happen to have an english version or can you point me to the web part? I don't mind paying for web parts that meet the requirements.

  17. Mike Foley Says:

    Thanks for the reply! I\'ll check out the Mavention version. However, it isn\'t immediately obvious which \"Prodecten\" this is on the Mavention site. Do you happen to have an english version or can you point me to the web part? I don\'t mind paying for web parts that meet the requirements.

  18. Joe Thaworntaweewong Says:

    @Mike, I had the same question too. I dug a bit in ItemStyle.xsl and found that there was a special variable called "CBQPageUrlQueryStringForFilters" that would provide the page querystring. So in the XSL, you can use something like

  19. Mike Foley Says:

    Thanks so much @Joe!!! Such a straight forward and trival solution. I feel silly I didn't find that one on my own, but thanks again for the great pointer.

  20. Mike Foley Says:

    Thanks so much @Joe!!! Such a straight forward and trival solution. I feel silly I didn\'t find that one on my own, but thanks again for the great pointer.

  21. bijesh Says:

    I added a Imtech CQWP on a page in SP2010. It works fine but after editing this page in Sharepoint Designer2010 in advanced mode. This web part shows error. It says "Web Part Error: An unexpected error has occurred" . I played with it and found out this error will not occur until the page size is changed from zero. What is the issue here

  22. Waldek Mastykarz Says:

    @bijesh: It could just be the case that the Imtech CQWP doesn't handle the Design mode properly. Unfortunately I have never worked with it and SPD so I cannot provide you with any more information. Have you check the ULS log to see if you can get any more information?

Leave a Reply

Security Code:

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS
Copyright © 2007 - 2012 Waldek Mastykarz

Creative Commons License