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
1answer
261 views

Apply JSLink client side rendering to Content Query Web Part

We are using SP2013 on-premise standard edition (hence content search web part is not supported). I have applied custom rending by inserting a JSLink to some list view. Later I need to apply the same ...
0
votes
2answers
155 views

How to merge mulitple list in single view?

We are using SP2013 On-Premise Standard Edition. So Content Search WebPart is not available. In a site collection there are 100+ subsites. Each subsite have a list with custom content type X. We need ...
0
votes
1answer
200 views

How To Display Custom Columns Data On Publishing Page Using Content Query WebPart? [duplicate]

How to display custom columns' values in Content Query WebPart? Currently I have a Custom List with 3 columns Title, MobileNo and Address. Content Query WebPart Only Displays First Column's value (...
0
votes
1answer
71 views

Display Announcement list from sub site

I have SharePoint Server 2010 Standard and am trying to put a short announcement List on my home site which is from a sub sub site. I tried creating a Content Query Web Part, selected the source as "...
0
votes
1answer
764 views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> <xsl:call-...
0
votes
1answer
166 views

How to display unlimited rows in Content Query Web Part?

I want to display unlimited number of rows using Content Query Web Part. Is it possible? if yes then how and if no then what is maximum row limit supported? Thanks.
0
votes
1answer
1k views

Content Query webpart and display list items from another subsite

I have a portal homepage and subsites in this hierarchy Home->Divisions->HR I have created a custom list in HR subsite with Name, Department, Joining Date and City. Then I went to Home and added a ...
0
votes
1answer
91 views

CQWP queries too many items

I have a CQWP that queries an entire Site Collection. The Site Collection contains around 10,000+ documents. I use the CQWP to try to get the 25 most recent documents from this 10,000. Problem is, it ...
0
votes
1answer
206 views

CQWP Content Query Web part and the whole import/export process

I am building a corporate intranet with a totally custom design and need to use CWQP in order to pull data from lists (home page carousel and quick links) and subsites (news article rollups etc). ...
0
votes
1answer
686 views

Item Style XSL - Showing Read More Link When Content Is Cut Off

I have managed to create an ItemStyle template for my CQWP. It pulls from various announcements. I have set the character limit to 400 and placed a link at the end where a user can click to view the ...
0
votes
1answer
67 views

Content Query Web Part results not synchronized

I have a SharePoint 2010 content query web part set up which is querying several lists in a site collection. It is returning the expected data in most cases but 6 out of the 30 or so entries are not ...
0
votes
2answers
548 views

Compare current user login name with four custom sharepoint list 2010?

I have 4 custom list (test A, Test B, Test c,test D). I need to find current user login belongs to which list in sharepoint. if current user belongs to Test b list i need to show pop up "U belong to ...
0
votes
1answer
161 views

Image Click event inside content editor webpart

I want to add an image click event inside the content Editor web part using the JavaScript only. Here is the scenario which i want. I have 4 images in the main sharepoint page insides the content ...
0
votes
1answer
2k views

Content Query on Calendar Event Items not showing start date / event date

I have a CQWP that checks the whole site collection for calendars & event items. Using this trick here: http://benprins.wordpress.com/2012/05/20/show-all-fields-and-values-with-xslt/ to get all ...
0
votes
1answer
696 views

SP2013 - CQWP query override for tasks assigned to me

I'm using a CQWP, and I need to add more than three filters. The filters I want are: Status is not equal to Completed Status is not equal to Deferred Due date is less than Today Assigned To is equal ...
0
votes
1answer
578 views

content query webpart, query filter on a hidden field?

i am using o365, and building a sharepoint 2013 Online website. i have created a column in my contenttype. I set This column hidden. i dont see This column when i try to add a query filter on my ...
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" type="string">/sites/test35/Style%20Library/XSL/...
0
votes
1answer
665 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
661 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
497 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
537 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
124 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
781 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
578 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
924 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" match="Row[@Style='...
0
votes
1answer
1k 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
100 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
409 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 version="...
0
votes
1answer
204 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
88 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 cqwp-layout-...
0
votes
1answer
126 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 name="...
0
votes
1answer
304 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
128 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
992 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
670 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
568 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
847 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
512 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 ?