Content Query is a Web Part that displays a dynamic set of items based on a query that you build by using a Web browser. You use the query to specify which items are displayed, and you can set presentation options to determine how those items are displayed on the finished page.

learn more… | top users | synonyms (1)

1
vote
2answers
1k views

Add jQuery to Custom CQWP to make scrollable - SP2010

So if I create a custom cqwp (by that I simply mean customizing the view by adding fields to webpart and modifying the xslt in itemstyle), can I apply jquery after the fact to limit the size the ...
1
vote
2answers
571 views

CQWP or default list view webpart

I have bunch of document libraries for Sales site collection. These doc libs are by Year. These are going to be read only records. By default the list view displays everything. No filter needs to be ...
2
votes
2answers
606 views

How to remove WebPart from the screen if there are no items - CQWP

What do i need to do in my itemStyle.xsl to hide webpart when there are no items. When RowCount is 0. Thanks i advance
0
votes
1answer
1k views

Linking CSS file to ItemStyle.xsl for CQWP custom template

Beginner. I have created a custom template for a CQWP in the ItemStyle.xsl. One thing that I am not sure about is how I could associate a css file so that anytime this template style is used the ...
1
vote
1answer
645 views

CQWP Error when modifying webpart and ItemStyle.xsl : from example SP2010

I am trying to create a webpart that would take blog posts from subsites under site and roll them up. I found a blog that describes exactly what I am trying to achieve here. After following these ...
0
votes
1answer
665 views

How to customise Content Query Webpart to get this view

I would like to customise the Content Query Webpart like i normally do with DWP but i know its a different approach. All i want to do is to get the title name and turn it into a link and when you ...
1
vote
1answer
1k views

CQWP - dynamically setting the list

I have a Webpart that extends the content query webpart, that is currently pointed to List X. On the click of a button I want that webpart to be changed to point to List Y. This seems like a very ...
0
votes
2answers
97 views

Use WSS 3.0 to connect to Sharepoint 2007

I have the Intranet on Sharepoint 2007 Standard and want to setup a separate server with Windows Sharepoint Services 3.0 that would mirror (Just view, no editing) a specific Site. Is this at all ...
1
vote
1answer
200 views

Any ideas why an internal name for column begins with _x0040_Active

Content query webpart not picking field value because internal column name appears as _x0040_Active
1
vote
1answer
948 views

Help xsl formatting help needed

I am creating this http://demo.webdeveloperplus.com/featured-content-slider/, image rotator in where data will be pulled automatically from a custom list. Need help with markup, as current markup ...
0
votes
0answers
97 views

XSLT Markup help [duplicate]

Any xsl examples on how to achieve this html markup <div id="rotate"> <ul> <li></li> <li></li> <li></li> </ul> <div>First ...
2
votes
0answers
37 views
2
votes
1answer
236 views

how to use custom web part properties in CQWP

I have extended the CQWP and have several custom web part properties. One is a text field named "Header" and I would like to use it for a header in my CQWP. I know that I need to edit ItemStyle.xsl ...
0
votes
1answer
346 views

XSLT with in CQWP leaving html tags open when empty

We have some XSLT when the value of Message is NULL the h2 transforms into a self closing tag. How can we stop this? <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet ...
1
vote
1answer
702 views

CQWP throwing security validation error when selecting list

I am currently building an intranet portal which is highly dependent on content query web parts. I am having an issue where when I go to select a list from the popup, it throws an error. The ...
0
votes
1answer
159 views

Add content query web part to a page through web services

I am looking to add a content query web part to a page using web services (WebPartPagesWebService.AddWebPart). I am able to add content editor web parts and other simple web parts, but the content ...
0
votes
1answer
205 views

How do I fill a webpart with list values I have retrieved with ECMAJS SP2010

New to SP dev, but recently learned how to retrieve data from lists using ECMA with CAML. Added a CEWP, wrote the script to retrieve the data and it is working fine, multiple field filters, etc. ...
1
vote
1answer
482 views

How to display a list across multiple sites?

I want to be able to create a customized list, "Test", on my main page, "Home" of SharePoint. I want to be able to link to that custom list, "Test", onto another site in the same collection, ...
0
votes
0answers
142 views

odd issues with Link regardless of fieldtype

I have a picture library and I am using unc path to very large files (Like engineering autocad files) that I can't store in SP. I added a content Query WP and configured it so pictures are displayed ...
0
votes
1answer
87 views

Additional class rule based on template name

I'm rendering three columns, each containing a CQWP. Each CQWP will utilize a different item template to render the contents, however, I need to add an additional class rule along-side ...
0
votes
1answer
117 views

I cannot find the default.aspx page in the cqwp

I am trying to extract and display the content editor web part within the site default page on another page. When using the cqwp, I cannot find the default page at all. Thank you for your help More ...
0
votes
2answers
981 views

how do I link to more items at bottom of content query web part?

I have two content query web parts each linked to a different announcements list. I'm showing the most recent five announcments and would like to have a 'View all' link at the bottom. I've found a ...
1
vote
1answer
345 views

Data View Web Part pointing at multiple XML feeds/internal SharePoint lists

I am trying to put together a web part with a mixture of jQuery display functionality on a DataView web part. The idea is to have multiple sources of news feeds from both an internal SharePoint list ...
3
votes
1answer
128 views

Is this custom editing functionality in chrome header area hard to develop, any pointers at all?

I am trying to develop web parts with custom functionality for editing for normal users. In the chrome bar there would be the same sort of controls as you see in the top right of your browser (except ...
1
vote
2answers
271 views

OOB CQWP messes up dropdowns background in IE9

Create a new publishing site Drop a CQWP onto a page, you dont even need to configure it Click SiteActions menu Problem: The background for the menu becomes transparent! I only have this issue in ...
3
votes
1answer
999 views

Content Query webpart- CommonViewFields vs ViewFieldsOverride

I'm reading up on the Content Query web part and based on this page, I can't understand the difference between the CommonViewFields property vs the ViewFieldsOverride property. How are they different? ...
1
vote
1answer
624 views

How to be able to edit CQWP added to custom page in VS2010?

I deploy a custom welcome page for a site and on the page I have a content query web part. The problem I have is that I can't edit the web part once deployed. If I go edit page -> I can select the web ...
1
vote
2answers
123 views

SharePoint 2010 Main Summary Blog Page

Is there a way to get posts to roll off on the main summary blog page? Basically we don't want posts to keep displaying after so many days (i.e. they need to roll off once they reach the set ...
1
vote
1answer
541 views

CQWP - Sort items based on popularity

I've enabled Auditing in a list that keeps track of how many times an item has been viewed. I would now like to use a Content Query Web part to return a list of documents based on their popularity ...
0
votes
0answers
331 views

Search Scope has no content when anonymous access disabled

I'm trying to setup a few search scopes for my SharePoint 2010, Publishing Site with Workflow site. The majority of the site(s) will be available to the public, so anonymous access is enabled for site ...
1
vote
1answer
541 views

CQWP to query specific list without GUID

I would like to use CQWP to query from one Specific list and that is something we can achieve using following Property and like this " replace with </Lists> ]]>" This is good but if i export this ...
0
votes
1answer
676 views

sharepoint2010: CQWP Sort by managed metadata column

It is possible to get sorting on Managed metadata column? I get grouping and filtering on the columns working but not sorting. Any help is appreciated
0
votes
0answers
227 views

Content Query and Current User AD fields

Is there an easy approach to setup query filters for CQWP to use the current users Department, Location etc fields from their profile. I know you can get values from the Page Field Filter in the ...
1
vote
1answer
601 views

Get the title of file and not file name in content query web part?

What do I use instead of <xsl:variable name="DisplayTitle"> <xsl:call-template name="OuterTemplate.GetTitle"> <xsl:with-param name="Title" ...
-1
votes
1answer
95 views

Establish connection between textfield value of webparts to be assign into listfield in NewForm.aspx or EditForm.aspx

Textfield is present in webpart (which is inside NewForm.aspx or EditForm.aspx), when I click on submit button on webpart then that value gets displayed in listfield (inside specific column) of ...
5
votes
0answers
748 views

Content Query Web Part - Multiple (repeated) additional fiters

I am creating a Content Query Web Part as part of a feature receiver (feature activated), and adding it to a publishing page. The purpose is to filter on the Approval Status field for a Calendar ...
1
vote
2answers
309 views

Content Rotator to display latest posts only

I am looking at AnythingSlider and a custom content slider and was wondering if these tools allow me to display most recent content only. For a news rotator I only want to display top five news from a ...
1
vote
1answer
537 views

SP 2010 - Web Part to display a list of pages from parent site filtered by metadata

I have a SubSite that I need to have a web part that will show a list of articles that are stored on the parent site. There is a metadata tag called "vendors" that each article is associated to. Is ...
0
votes
1answer
198 views

Error in a content query web part 2007

any one can know what the error in the following code : when I remove the variable LinkTarget1 it will run <xsl:template name="INeedTo" match="*" mode="itemstyle"> <xsl:variable ...
1
vote
0answers
280 views

Content Query Web Part not displaying image correctly

I was changing columns and content types to create a custom area in a page layout so to add a summary area on the article page Somehow I changed one of the content types and now content query web ...
3
votes
1answer
634 views

How to point RSS feed's links to items' correct url?

I have a List of blogpost-like items, which are published through a Page on a public facing site. I'd like to provide a selection of these items as an simple RSS feed (Title & Description), so I ...
0
votes
1answer
268 views

Effectively Querying Subsite RootFolder.Properties

I'm storing some data in the RootFolder.Properties for a bunch of subsites, sub-subsites and sub-sub-subsites. On the parent site(s), I want to roll up that data, security trimmed for the user. (All ...
1
vote
0answers
74 views

Weekly Email from content query web part

We have several announcement lists we want to consolidate into a single weekly email - we do not want X separate emails being sent to each user. We can roll them up into a content query webpart but ...
0
votes
2answers
2k views

Rendering images in a content query webpart

I have a bunch of images in a picture library that I want to expose on my Sharepoint homepage. I've added a Content Query webpart and configured it to display the items in the picture library list ...
3
votes
0answers
600 views

Problem with getting SafeImageHtml in CustomItem.xsl of a CQWP

I have a CQWP with the Parameters: Title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;| Description:{691b9a4b-512e-4341-b3f1-68914130d5b2},ShortComment,Text;| ...
4
votes
4answers
2k views

Help with CAML query

I have the following query but I am not sure if it does what I really want: <Where> <And> <Contains <FieldRef Name='Phase' /> <Value ...
2
votes
0answers
995 views

SP2010: Strange Content Query Web Part Behavior - Inconsistent results between users

I'm experiencing some very strange behavior with a content query web part. The web part uses no customised XSL, and is a simple query of "All sites in this site collection, from a Document Library, ...
1
vote
1answer
1k views

“Web part references an untrusted XSL file” error

We're getting this error on a SharePoint 2010 web site when inserting a content query web part (CQWP) that uses a custom XSL file: The web part references an untrusted XSL file. Only XSL files ...
1
vote
1answer
631 views

Inserting webpart in pagelayout

I have a custom webpart which inherits from the CQWP and I want to insert and configure it in one of my pagelayouts. I do this using SharePoint Designer and it's no issue inserting it. It's the ...
1
vote
1answer
249 views

Opening videos in browser with XsltListViewWebPart

I created a Document Center site which has its own Content Query Web Parts. When I upload a video file to this document center, the Content Query Web Parts are playing the videos in browser with modal ...