Tagged Questions
2
votes
1answer
34 views
Self Referencing Related Documents Library Through Lookup Column
I am trying to create a single document library that links to documents in the same library in SharePoint 2010 Server. I've created a multi-value lookup column that references the same library to ...
0
votes
1answer
50 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 ...
1
vote
2answers
94 views
Remove duplicates in Content Query web part
I'm looking to use the Content Query web part in Sharepoint 2010 to return items from a list. What I'm trying to do is return a list of categories available from all the items available. This is ...
0
votes
1answer
132 views
How to display only future events in Content Query Web Part?
I have content query web part for displaying the future events. But the web part is displaying the past events as well. For example, I had two events in March and 3 in April. It shows all five event. ...
0
votes
1answer
39 views
How to enable scrolling in Custom Query Web Part as well as library web parts?
I am using several custom query web parts in the front page of the SharePoint site to show data from a sub-site. They are document libraries and blog posts. How can I enable paging or scrolling for ...
0
votes
2answers
45 views
Set max number of items returned via Content Query or list
Any ideas if this can be done?
I want to restrict the number of items returned to 5. Not sure if I can do this somehow at the CQWP or list level?
0
votes
2answers
62 views
What are some alternatives to the Content Query Web Part for displaying list data in a custom layout?
I have some very specific requirements for displaying data from a List of Announcements. The Content Query Web Part can do almost what I need but does not seem like a very effecient solution. ...
1
vote
1answer
54 views
Limiting a view based on authentication
I am attempting to solve/plan a strategy for a business using SharePoint 2010. They have data from multiple external databases. I would like to display this data in a report based on the current ...
3
votes
1answer
278 views
Remove LI wrapper from Content Query Web Part / ContentQueryMain.xsl
I have done a fair amount of experminting with this but cannot get it to work and I'm now looking for pointers or working examples.
I want to customise the output of the Content Query Web Part to ...
1
vote
0answers
144 views
PublishingStartDate in Content Query web part
How to process PublishingStartDate properly in XSLT of SharePoint 2010 Content Query web part (CQWP)?
CQWP sends e.g. Modified date of a page (row element) in format “YYYY-MM-DD…”. ...
0
votes
0answers
135 views
Content Query Web Part on a multilingual SP site
I have a SP 2010 installation, installed in English. I have some sub sites that use publishing, for news and such. On my home page I have a CQWP that shows the news nicely formatted.
The CQWP has the ...
1
vote
1answer
434 views
List view web part to display all item from document folder in subsites (SharePoint 2010)
How can I achieve that I can display all the documents from the document libraries from all the site collections sub sites? (Actually I only need to show the onces that where changed lately.)
It ...
3
votes
3answers
103 views
How to alter result of a CQWP query?
On the site I'm maintaining, alle the news pages has a Note Board webpart for commenting on a newspage. On the news summary page resides a standard CQWP, displaying the most recently posted news.
...
2
votes
2answers
609 views
How do I use QueryOverride in CQWP when deploying web part instance using Elements.xml?
I need to use the CQWP with more than three filters, hence I'm going to use the QueryOverride with a CAML query like described here. I can't get this to work when deploying the web part instance using ...
0
votes
1answer
348 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" ...
1
vote
1answer
447 views
content query web part with multi value lookup column
I am trying to work out how I can query a content type with a multi value lookup field using the content query web part.
I know that natively this is not possible with ootb sharepoint 2010 however I ...
1
vote
3answers
692 views
How to show items from only two libraries with Content Query Webpart
Salvete! I have two document libraries, and want to display the contents of both libraries in one view.
Can I do this with the Content Query Webpart?
Is there a way to make it display in the same ...
0
votes
1answer
427 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
0answers
43 views
Add Content Type to Additional Filter in Content Query
Additional Filters in Content Query no longer has content type to filter on. Any ideas how I can custom add it to the web part.
0
votes
0answers
131 views
Data mapping in Sharepoint 2010 content query
My company has finally implemented Sharepoint 2010, and I realise there are differences with Sharepoint 2010 Content Query and Sharepoint 2007. I added data mapping but get an error when I tend to ...
0
votes
0answers
84 views
ContentByQuery webpart has not trusted XSL
I've got a ContentQuery webpart with a custom XSL.
If i set the ItemXSLLink and running on the main sitecollection, the CBQWP is showing my items.
If i place it on another sitecollection it's goning ...
0
votes
1answer
154 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
2answers
197 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 ...
0
votes
0answers
178 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 ...
3
votes
0answers
477 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 ...
0
votes
2answers
2k 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 ...
1
vote
3answers
161 views
SharePoint XSLT and FF + Safari
I'm currently working on optimizing a clients website for all big browsers (IE, FF, Safari, Chrome, Opera) and I've encountered unsolveable issues (for me at least) here regarding the CQWP & ...
1
vote
4answers
691 views
How to embed a CQWP into a master page or DelegateControl
I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a SharePoint:DelegateControl on the master page and I want to plug the web part into it by ...
1
vote
1answer
335 views
Advanced filtering in the ContentByQueryWebPart
I have a webpartpage with two CQWPs. I want the first to show all pages for the current site, and I want the second to show all pages for the subsites of the current site.
As I can see, there's no ...
0
votes
1answer
553 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
74 views
How to create a webpart with a picture and some lines of text
I am using SharePoint 2010 Standard edition and on my home page I want to create a webpart which includes a picture on top and under the picture a 10 lines message. Dont know which webpart type I ...
0
votes
1answer
1k views
CQWP - Get Current Web URL
I am customizing the ItemStyle.xsl in SPD2010 for a CQWP crawling a whole site collection.
I need to use the current web as a variable.
I tried multiple options:
Option #1 - use server variables in ...
2
votes
1answer
389 views
How best to create CQWP and test
I'm working in SharePoint 2010 Server and creating custom content query web parts (CQWP) that point to custom ItemStyle_myTemplates.xsl file. To do this, I've been creating the CQWP in the browser by ...
2
votes
1answer
949 views
Strip out DIV tags around rich text fields
I've noticed that SharePoint 2010 wraps rich text fields (multiline text) with DIV tags, which can be annoying. I've got a custom XSL template for the columns being pulled by a content query web part ...
2
votes
1answer
592 views
Can't read Enhanced Rich Text field value from CQWP
I'm trying to read the value of a multi-line, enhanced rich text field from a content query web part using a custom ItemStyle template in SP 2010. Even though it has a value, it keeps coming back as ...
2
votes
2answers
919 views
Customize content query web part's look
I'd like to customize the way a content query web part (CQWP) displays a list on SharePoint 2010; the list is defined in the root and is going to be fetched in a subsite. Each subsite will pull one ...
0
votes
1answer
1k 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 ...
1
vote
0answers
350 views
2010 Recent sub Site Wiki Page Changes Rollup with Content Query webpart
I have a my SharePoint 2010 enterprise implementation.
I am trying to implement a Webpart in a site that shows all the latest changes from a sub site wiki libraries. Unfortunately the result set is ...
2
votes
1answer
342 views
aggregate data source and pseudo join?
Is it possible to use the aggregatedatasource to show all "parents" and theirs "children" where at least one "children" is created by the current user ?
To be more clear, imagine the following :
...