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)

0
votes
2answers
1k views

How to Give Custom ItemStyle.xsl Path in CQWP of subsite?

I have CQWP that is in the SubSIte.I want to give it Custom ItemStyle.xsl path.I had done it by following Link. <property name="ItemXslLink" ...
0
votes
1answer
635 views

Always show Header&Footer in Content Query WebPart

I want to add an header and a footer to the data displayed by a Content Query wp using SharePoint Designer. I had been following the following tutorials: Link 1 and Link 2. It works fine but the ...
0
votes
1answer
134 views

What is the best method to use your own itemstyle.xsl on a CQWP?

Im using sp2010. I have created programmatically a module where I copy my custom itemstyle.xsl. I named it customItemStyle.xsl. How can I programmatically set this customItemStyle.xsl file as default ...
0
votes
1answer
644 views

How to add CCQWP programmatically in SharePoint 2010?

I need to add the Content Query Web Part programmatically in SharePoint 2010. I exactly don't know how to do that. I searched over the internet but not find the exact post anywhere. I got this post. ...
0
votes
1answer
489 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
0
votes
1answer
523 views

Issue checking for contains in CQWP, comparing against Managed Metadata field

I have a unique scenario where I need to compare values for conditional formatting of my Content Query Web Part. In most circumstances this is pretty easy, and we thought this was working for the most ...
0
votes
1answer
123 views

Variable Content Query Webpart in Sandbox Solutions

I'm stuck with the following problem. I have a Sharepoint Sandbox Solutions project. On the main page there's a list "Artists" with URLs that direct to the proper Artist Page. Those artist pages are ...
0
votes
2answers
772 views

Can we integrate the office Communicator in Sharepoint

Would you please help me if can we integrate the office communicator in sharepoint 2010 as live chat ?? or any link buttonn to open the office communicator user windows chatting ?? Regards,
0
votes
1answer
1k views

Missing some custom fields on Content Query

I need to display my custom list rows using a custom XSLT, so I have configured a CQWP to display these rows from this specific list. Although, even the Order by dropdown list displaying all list ...
0
votes
1answer
562 views

Get current page title in Itemstyle.xsl without script

I have a requirement where I need to customize the display of content in a content query web part based on metadata associated with the page layout. When I say customize the display I am not filtering ...
0
votes
1answer
157 views

Content Query Webpart outputs HTML

I have inserted a CQWP on a site and set it to print a description, but it prints out HTML code. disable-output-escaping is set to yes. That doesn't help. Also when I try to edit it to make it ...
0
votes
2answers
1k views

How to access QueryString values with CQWP in MOSS 2007

I need to show some data from library based on querystring passed in URL. I've placed Content query web part on page and trying to access querystring using PageFieldValue but it is not working as it ...
0
votes
1answer
912 views

Custom XSLT template - Content Query Web part

I've added a content query webpart (CQWP) to pull description (rich text) from a list and display it. I added the following custom template - <xsl:template name="MyDescription" ...
0
votes
1answer
993 views

use jQuery Modal instead of SharePoint modal

So I understand this is a strange question, but is there a way to use content displayed in a SharePoint modal, in a jQuery modal instead. I like the styling jQuery offers, but the SharePoint modal ...
0
votes
1answer
175 views

Webpart Blocking Create View on other list

I created a webpart from an announcement list (Add Announcement List > Open in Designer > Copy to file > Import webpart to page) and display this webpart above main datasheet data list. Users want to ...
0
votes
2answers
99 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 ...
0
votes
1answer
404 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 ...
0
votes
1answer
201 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
234 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. ...
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
125 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
1k 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 ...
0
votes
1answer
215 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 ...
0
votes
1answer
303 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 ...
0
votes
2answers
3k views

Custom xsl files for content query web part in location other than Style library?

Can we put our custom xsl files for CBQ in a location other than Style Library (in Layouts directory in 14 hive for instance)? Trying to do so is giving me the following error : "The web part ...
0
votes
1answer
126 views

Aggregating lists based on content type

We've got some lists that we plan to aggregate using a content query web part (CQWP) later, using a custom content type. The content type will be used on numerous sites within a site collection, but ...
0
votes
1answer
982 views

CQWP Audience Targeting Not Working

When using audience targeting on a CQWP it works when you set the target on the web part but when you set the audience on the items in a list it does not display any items. Does anyone have any ...
0
votes
1answer
644 views

Connect to a view from a CQWP

Is it possible to point the CQWP to a list view? We have implemented 3rd level navigation using subsites and now the subsites can't read the lists in the parent unless we use a content query web part, ...
0
votes
1answer
103 views

Seamless upgrading of content query web parts

Is there a tool or check list for upgrading content query web parts in 2007 to 2010?
0
votes
1answer
554 views

CQWP - using custom column as LinkUrl not working

I have a custom list with custom column - DetailsLink. I would like to render this link in the result of CQWP. So, my understanding I have to modify ItemStyle.xsl By default - it generates link to ...
0
votes
1answer
1k views

Using page properties as web part properties

Specifically in the content query web part, can I filter by a column whose value is passed in based on a particular page property (the pages have some custom columns to aid in SEO and indexing, one of ...
0
votes
1answer
2k views

content query webpart itemstyle wrapped by group style in XSLT

I have the following markup: <ul id="slider"> <!-- slider item --> <li> ... </li> <!-- end of slider item --> </ul> and I have ...
0
votes
1answer
840 views

No New WebPart Properties when Extending the CQWP!

I'm adding some functionality to the ContentQueryWebPart by inheriting from ContentByQueryWebPart... but when I try and add a new WebPart Property, the actual field does not show up when I edit the ...
0
votes
1answer
511 views

text /content search in Share point 2010 documents

I have to make my search text enabled with inside of documents, I mean search "abc" which is written in a "XYZ.docx" of document library. Please let me know How can we achieve that ?
0
votes
3answers
2k views

Content Query Web Part (CQWP) fails to show picture items from a document/picture library in an anonymous site

I have a Picture Library and am trying to use the CQWP to display a list of items in the library. The web part shows the items fine in authenticated mode, but it fails to show the items to anonymous ...
0
votes
1answer
15 views

Formatting CQWP inside Tabbed View

I'm looking for some ideas on how to format the query from a list. The basic premise is that we have a list of projects and each of those projects has their own page that is based on the following ...
0
votes
0answers
25 views

SharePoint 2013 - Content Query no results after restore

I have a Content Query which shows special documents from a Document Library in a subsite. The Content Query returns documents from a special and selected list type. For Example if I click on ...
0
votes
1answer
29 views

Editing Webpart on aspx page with Filter to display nothing initially

I've got a issue that I have been sitting on for about 4 hours now. The page was created by another developer that I have to edit now and cannot seem to figure out. The scenario is as follows. ...
0
votes
1answer
21 views

How to use content query webpart to filter by custom people column?

I'm trying to set up the content query webpart on portal level (site collection) to retrieve a list of tasks, where the current user is set to the responsible person. Notice that the responsible ...
0
votes
1answer
34 views

I am getting error while trying to select a list for content query web part using query option from tool pane

i wish to connect a calender list to CQWP n for that i am trying to select list from tool pane ->Query->Show items from the following list->browse n then there i am getting error as the log viewer ...
0
votes
0answers
20 views

Get Attachment URL via ItemTemplate XSLT

I am using a CQWP to query a list. This list has attachments that I want to display. I have created a custom xsl:template in ItemStyle.xsl, but I can't figure out how to get an attachment's URL. I ...
0
votes
1answer
16 views

Is it possible to display items with different content types in a content query webpart

I am trying to configure a content query webpart to display three different content types from three different lists. Is this possible or can you only target a query to specify a single content type? ...
0
votes
0answers
37 views

CQWP Error when querying multiple lines of text

I followed this link to edit my ItemStyle to allow truncating blog post body. This works fine until I realized that when CQWP is fetching for item with large amount of data. Here is the markup of ...
0
votes
0answers
19 views

Content Query Web Part Issue - QueryOverride property

I needed to customize a CQWP to allow the filter to look at both the date and time of a field (OOTB just looks at the date portion). I followed a number of examples and customized the QueryOverride ...
0
votes
1answer
31 views

Content query webpart display url

I AM Creating one list with url and description . i want display items using content query webpart . i am selecting title and description in style , given the column names . but it display url like ...
0
votes
0answers
20 views

set the in-line style to image tag in the content query web part

I have to set the style to image tag with in-line instead of class. Is it possible? How?
0
votes
0answers
13 views

How to hide CQWP's title when it returns no result?

I'm working on SP2013 on site, and i've had some troubles whith the CQWP. Thanks to @Trenton Mak (When a CQWP returns no results, zones are shifted), my zones are not shifted anymore. But now, i ...
0
votes
0answers
10 views

Article Description in Content Query

In SharePoint 2013 I have created a Content Query Web Part, which pulls Articles from the Pages Library. I know when you create an Article, you can type the title and description. How can I pull the ...
0
votes
2answers
34 views

Show list item values from different site collections

We have a site template that contains a list with columns such as title, status, manager. We use this template to create site collections. I would like to query this list item values and show them all ...
0
votes
0answers
20 views

slider using Content search web part

I don't know how to use or you can say configure content search web part to imply a slider which can be used to show list items as news both horizontal & vertically.