Questions tagged [content-query-web-part]

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.

Filter by
Sorted by
Tagged with
1 vote
2 answers
43 views

Content Query Web part for SharePoint 2019

Is there a web part that is similar to the Content Query web part in SharePoint 2010, for SharePoint 2019 on-premises?
Michelle's user avatar
0 votes
1 answer
12 views

SharePoint Online Web Part Query

I'm trying to add [AccountName] "does not contain TEST". Below is the existing code. Can some one show me how to add AccountName does not contain the word 'Test'? {searchboxquery} ...
Travis Horne's user avatar
0 votes
0 answers
106 views

SharePoint Modern Full Width Section - Rotating Banner

I've been looking for something that I thought might be a common question. I currently leverage the SharePoint Modern Image full screen web part on my Comms Site homepage but was hoping to work in a ...
KwickTime's user avatar
0 votes
0 answers
19 views

SharePoint Lookup column with Handelbars

I am using Content query to get information from SharePoint list and display them via Handelbars template on a SharePoint SPFX Page. Everything works fine except for column defined with lookup. For ...
Marc's user avatar
  • 1
0 votes
1 answer
321 views

How to get latest version of SPFx web part?

I have a web part this is on version 2.0.0.0, but the site it's deployed on is still on version 1.0.0.0. The screenshot below proves it's using the outdated version, but I can't see how to make the ...
BennKingy's user avatar
  • 406
0 votes
1 answer
37 views

Filter multiple line text using content query webpart

Is there any way we can filter content query webpart using multiple line text with contains?
kumar's user avatar
  • 119
0 votes
1 answer
50 views

How to modify XSLT in customised ItemStyle.xsl to display more than one image in a CQWP

Thank you for taking the time to read my question. I'm customizing a SP2013 CQWP. I've exported and amended it to connect to CustomItemStyle.xsl, and reimported it. I can access all the fields I ...
NCCadm's user avatar
  • 140
0 votes
1 answer
31 views

Content query web part roll up documents and pages

I have created metadata tags for our site content. Site content includes both pages in the pages library and pdfs in document libraries. Content is spread out throughout the site. Is there a way for ...
Brian's user avatar
  • 1
1 vote
0 answers
44 views

Accept date and time field on queries

I created a date/hour field and the documents only appear on the page when the date is <=Today. I set this on the query RefinableDate13 <={{undefined | amUtc | amDateFormat:'YYYY-MM-DDTHH:mm:ss'}...
CrisRom30's user avatar
1 vote
1 answer
91 views

Unable to link CSS to the template url react content query web part

I have just installed the react Content query web part and I am linking the template url to html files in my site assets, I have a common css which has some elements common across different templates ...
Cajetan Trindade's user avatar
1 vote
1 answer
171 views

Content Query webpart shows (blank) for Link List from parent site in SP2016

I have a list of careers links in my parent site (/Lists/careerslinks/AllItems.aspx). I need this list to be displayed in the parent site, and in the careers subsite, but when I create a Content ...
Zak's user avatar
  • 11
0 votes
1 answer
47 views

Custom content query web part field not displaying

Hello and thank you in advance. I have added a custom field to my CQWP by the standard process of copying an existing xsl template in ItemStyle.xsl and then adding the additional field. The field ...
Adam's user avatar
  • 15
0 votes
1 answer
24 views

Editing the content from the page using Content Query web part

Can you edit the content in a content query web part? Or any items edited, added or delete is done at the source of the content query only?
adams-j's user avatar
  • 307
0 votes
1 answer
188 views

Web Part problem (Content Query), "Sorry, Something went Wrong"

I'm trying to correct a broken web part that's not pointing to the correct list (Content Query Web Part). However, when I click to edit, I get the "Sorry, something went wrong"...File Not Found. ...
adams-j's user avatar
  • 307
1 vote
1 answer
129 views

Content query webpart for show attachment

I have added Content query webpart in home page for announcement list. I have a done changes in XSLT file to show body field. Now I want to add attachment field. for body i used below code: <...
Liz's user avatar
  • 77
0 votes
1 answer
20 views

CQWP xsl to display number column as currency with only 2 decimal places

I am trying to display dollar amounts with 2 decimal places for the "Amount" column. How can I format it to display as $850.00 instead of $850 or $1,974.23 instead of $1974.225 in my code below? $
Albert's user avatar
  • 21
1 vote
1 answer
1k views

Sharepoint 2016: Hide folders in search results

As I am working through the site and building it, I have come across a small issue I wish to fix. My current setup, which works for our site well, is using a "Vault" system. One document library with ...
Darkstar.Industries's user avatar
0 votes
0 answers
40 views

Content Query Webpart. File icons not lined up. Corrupted web part?

I am trying to build on a new (SharePoint 2016) site. I've added the content query web part but it is not looking right. Doing a quick test of some files, it displays like this: Something didn't ...
Darkstar.Industries's user avatar
0 votes
1 answer
45 views

Calendar Content Query on 3 lines

I have a design requirement based on a custom design created by a UX team to show the 3 most recent calendar entries on 3 separate div elements on a SharePoint 2016 Site Page. Each should only pull ...
Sean's user avatar
  • 404
0 votes
2 answers
79 views

SP online is it still possible to import a modified CQWP?

I have been doing this since some months ago. Export the CQWP and adding some fields in the property name="CommonViewFields" When importing I get: The file you imported is not valid. Verify that ...
susan's user avatar
  • 2,628
1 vote
0 answers
124 views

Content query webpart using a calculated page field value in a filter failing

I'm having trouble getting a calculated page field (DocIdDelimited) to work as a filter value in a content query webpart. DocIdDelimited should resolve to text. I'm querying if the calculated field ...
George Champlin's user avatar
1 vote
0 answers
49 views

Content query webpart using dynamic value and concatenation for QueryOverride or FilterValue1

We're trying to customize a Content query web-part to use dynamic data (page Id) and a concatenated character (; or |) to populate the query. I've tried writing a QueryOverride like this, but not ...
George Champlin's user avatar
1 vote
1 answer
26 views

Why are some of my CQWPs coming back blank for Visitors?

I have a page with approx twenty CQWPs on them, all coming from the same library. It looks fine to me (Admin) but for the Visitor permission group, some boxes are coming up blank - no error message, ...
SPWitchDoctor's user avatar
2 votes
0 answers
121 views

Customize Content Query XSLT

We are using a content query webpart on a page to show some related documents. It needs to be updated immediately when the page is updated so the 15 minute search web part delay is not an option for ...
Rothrock's user avatar
  • 2,920
0 votes
1 answer
206 views

How to exclude the specific category result(post) using query?

I’ve a blog site where 20+ categories are there.Now my requirement is using content search webpart I have to fetch some specific categories post using search query. Only posts out of specific ...
Rajrup Bhattacharya's user avatar
1 vote
0 answers
20 views

Content Query Web Part - Get each task's site

Using a custom content query web part and XSL file in SharePoint 2016, I am bringing in tasks across a site collection. I would like to bring in each task's associated site. Using this article as a ...
cfoster5's user avatar
  • 151
0 votes
1 answer
96 views

Content Search Webpart missing "new" Items from List Query

I've created a Content Search WebPart on my SharePoint 2016 site page, and it's missing items from the list which have the "new" tag on them, meaning they were newly created. The following is what my ...
veggiedude's user avatar
0 votes
1 answer
400 views

Populate page dynamically with field contents from a list

I have a Sharepoint list "SiteInfo" which has the following columns:- Site Name IP Address ISP Username I would like to be able to do the following:- On my main SharePoint site page, I'd like a ...
roybridge's user avatar
6 votes
1 answer
174 views

Content Query Web Part - Change Content Type upon link opening?

[Edited from original post] I'm trying to open the links that come up from my Content Query Web Parts. However, I'm having a problem which I'll now explain: In my list, I have four content types - ...
DanJ's user avatar
  • 164
0 votes
1 answer
161 views

Content query throttling limit

In my SharePoint Online, I have a content query web part that I have configured to show 5 recent items from a subsite and sort by Modified but I'm not getting any results and the error message about ...
aearwen's user avatar
  • 180
1 vote
1 answer
81 views

How to show additional SP task list fields in CQWP

I have about 3-4 SP Task lists in a site collection and I am using Content query web part to show all tasks from these task lists across the site collection. The tasks show up fine but I am only ...
mdevm's user avatar
  • 1,225
0 votes
1 answer
68 views

Pass Sharepoint List Filter Value to Content Query

I have a Sharepoint List Filter and want to connect it to a Content Query. I tried to use variables like [PageFilterValue: MyFilter] but did not work
Harry Singh's user avatar
0 votes
1 answer
1k views

XSLT IF Statement

I have a custom Content Query web part that I'm using to display my JQuery Q&A functionality. I'm using a XSL file to determine what display as my question and answer headers. What I want to do ...
cod3r_jim's user avatar
  • 307
2 votes
1 answer
61 views

XSL Item Style in Content Query gets replaced by 'default' for visitors

I have a page with a Content Query WP that retrieves and displays a series of items from a list (blog posts). I have edited ItemStyle.xsl for this list and created a brand new item style that I then ...
jeancallisti's user avatar
0 votes
1 answer
38 views

Sharepoint 2013 Document library and search not displayed

I have a problem with document library, search zone' webparts which are hidden. I don't know the reason of it. I have Windows 2008 R2 server, Sharepoint 2013 enterprise in 3 VMs (Front End, Back_End ...
naoufelabs's user avatar
0 votes
3 answers
201 views

CQWP / CAML - Query returned a greater number of results than the web application's query throttling limit

The Issue I have a CQWP which appears to be configured to run with a CAML query (I'm a complete novice with CAML - I've inherited this set-up). It has been used successfully, until recently, to run ...
Tally's user avatar
  • 2,337
1 vote
2 answers
563 views

SharePoint permission list-item level

I have a list of projects with three different status based on the user permission. What I want is that some list items will show to the user based on their permission and the rest will be hidden. Is ...
Arte2's user avatar
  • 217
0 votes
1 answer
93 views

CQWP Group by Content Type

Is there a way to group by content type in Content Query Web Parts (CQWP)? I have created a list with 4 content types. We need to display the items in a CQWP but grouped by content type. I have tried ...
MrRCG's user avatar
  • 165
1 vote
1 answer
47 views

Adding to Content Query Snippet

Can anyone tell me if it's possible to edit a content query HTML Snippet. I am creating a page layout in SharePoint designer, and a using the snippet editor to create the Snippet code to drop into ...
stiwobox's user avatar
2 votes
2 answers
177 views

CQWP ItemStyle: how to display background of description with conditional formatting

I have 3 elements in a field and I would like the CQWP to display red as a bg colour of the field or amber or green. I guess the starting point is <xsl:if test="RAG = 'Red'">background-color: #...
susan's user avatar
  • 2,628
1 vote
1 answer
2k views

The "XsltListViewWebPart" Web Part appears to be causing a problem. Unable to find the specified file

I have a SharePoint Online Site Classic team site template. I also have 1 blogs site as subsite underneath it. On top level site i am using content query webpart to publish blog items from blogs ...
allegro octopus's user avatar
-1 votes
1 answer
83 views

JavaScript code on working on SharePoint Online list

Hope you're well; I am adding JavaScript code into content web part. However it is not working. I'm i mising something out.
AY_91's user avatar
  • 1,057
1 vote
0 answers
59 views

Content Query Multiple columns within each header

Does anyone know of a way to enable groupings on a content query web part which displays results in 3 columns? I have been able to create 3 columns display But the results are all shown only after all ...
Shannon 's user avatar
0 votes
1 answer
106 views

Two related lists and a Content Query WP

I have two lists that are related. I am trying to display them with a CQWP but I never used it. How can I list the items from the parentlist with its child items? PIR 1 My question SIR 1.1 My ...
Marco's user avatar
  • 121
0 votes
1 answer
256 views

Activating Manage site features for modern communication site

I just trying to activate SharePoint Server Publishing in my modern site to be able to use search content query. I found the following message. How to activate SharePoint Server Publishing ...
Jen's user avatar
  • 442
2 votes
0 answers
31 views

Grouping issue on a content query

I have created a content query pulling in a summary of the page library content. When I group the content based on “Topic”, I get the correct result for how I want the page organised, however all the ...
Jaime's user avatar
  • 53
0 votes
1 answer
514 views

remove ;# characters and number from xsl value (person /People group)- itemsyle.xsl

I'm retrieving like this <xsl:call-template name="RemoveHtml"> <xsl:with-param name="String" select="@Person.title"/> </xsl:call-template> Result looks like ...
naijacoder's user avatar
  • 4,172
0 votes
1 answer
108 views

Unable to switch to Advanced View in Search Driven Web Part Query Builder

I've been searching for some time now for some information on how to show the Advanced View of the Query Builder for the Content Search Web Part in SharePoint 2013 On-Prem. I want to sort my search ...
C. Dennett's user avatar
1 vote
0 answers
95 views

Displaying a multi value column (person or group field) in CQWP

I can return person or group column(I have selected this field to allow multiple values - People Only) like this "Name1;#24;#Name2;#34". How can I return something like this Name 1, Name 2 etc.. I ...
naijacoder's user avatar
  • 4,172
2 votes
1 answer
63 views

Content Query Web Part does not appear in add a web part

I have activated "SharePoint Server Publishing", but when i add a web part to a page i miss Content Rollup and the Content Query Web Part. It does not appear! What am i missing?
Nuno Barbosa's user avatar

1
2 3 4 5
12