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.
565 questions
1
vote
2
answers
720
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?
0
votes
1
answer
55
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} ...
0
votes
0
answers
39
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 ...
0
votes
1
answer
711
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 ...
0
votes
1
answer
76
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?
0
votes
1
answer
154
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 ...
0
votes
1
answer
58
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 ...
1
vote
0
answers
58
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'}...
1
vote
1
answer
131
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 ...
1
vote
1
answer
237
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 ...
0
votes
1
answer
88
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 ...
0
votes
1
answer
39
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?
0
votes
1
answer
264
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. ...
1
vote
1
answer
188
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:
<...
0
votes
1
answer
29
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?
$
2
votes
1
answer
2k
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 ...
0
votes
0
answers
52
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 look ...
0
votes
1
answer
63
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 ...
0
votes
2
answers
128
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 ...
1
vote
0
answers
164
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 ...
1
vote
0
answers
76
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 ...
1
vote
1
answer
49
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, ...
2
votes
0
answers
234
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 ...
0
votes
1
answer
260
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 ...
1
vote
0
answers
29
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 ...
0
votes
1
answer
144
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 ...
0
votes
1
answer
770
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 drop ...
6
votes
1
answer
219
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 - ...
0
votes
1
answer
210
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 ...
1
vote
1
answer
104
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 ...
0
votes
1
answer
79
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
0
votes
1
answer
2k
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 ...
2
votes
1
answer
104
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 ...
0
votes
1
answer
47
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 ...
0
votes
3
answers
249
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 ...
1
vote
2
answers
667
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 ...
0
votes
1
answer
106
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 ...
1
vote
1
answer
62
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 ...
2
votes
2
answers
226
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: #...
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 ...
-1
votes
1
answer
121
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.
1
vote
0
answers
71
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 ...
0
votes
1
answer
125
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 ...
0
votes
1
answer
313
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 ...
2
votes
0
answers
37
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 ...
0
votes
1
answer
903
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 this
...
0
votes
1
answer
134
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 ...
1
vote
0
answers
104
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 ...
2
votes
1
answer
98
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?
0
votes
1
answer
69
views
Modify a custom Webpart
i have a custom webpart that need to be modified. The problem is i don't know where to start. The webpart is a Content query webpart that returns a list of news page with title and image.
can you ...