CQWP display posts from multiple blog sites - NumComments doens't display - sharepoint

We've just upgraded SharePoint from 2007 to 2010.
I've edited a CQWP that points to a site containing multiple blog sub-sites, and it grabs the latest posts from these sites, and displays the latest 5 on my homepage.
I can get all fields to display, except the #NumComments - which is frustrating because I found it really useful.
It works fine if you point to an individual "Posts" list, but not when you point to an entire site and select the content type to Posts.
I've also tried this with an OOTB CQWP, and I get the same result.
What I've tried so far:
Adding the NumComments to the DataMappings property in the CQWP.
Adding the NumComments field to the CommonViewFields property, then displaying it in the Item.xsl.
Creating a lookup column of the # Comments column and try to grab that data.
That's roughly about it without using Designer (which I don't have access to).
Is this a known issue with SharePoint? It used to work perfectly in 2007, but stopped after the upgrade.
I'm about out of ideas, so any advice would be appreciated.

Related

SharePoint Quick Part Label Stopped Working

We are currently migrating our EDMS into SharePoint. As part of this workstream, I recently set up a SharePoint site with a Quick Part Label containing just the version number - as per the instructions here.
This worked fine in testing, now a few users have been added to the site and the migration works have begun. The option for "Label" within Quick Parts has simply dissapeared.
I tried some trouble shooting on Friday and found the following:
Recovering an old document from the recycle bin, still contain a correct version number label.
This label can be copy and pasted to a new document, and it correct applies the label quick part with the new documents version.
I set up a new test site and the Quick Part Label behaved exactly as expected, meaning the issue is within the Live SharePoint site itself.
I turned off labels and reset them. With no success.
I am opening in the app, the library has minor versions, check-in/check-out turned on (and currently approvals are turned off).
I also suspected that OneDrive sync might cause issues, but this again didn't seem to solve anything in the test site.
NB: this is also posted here, I will keep both threads up to date.
Screenshot showing label missing
Update 20/12/22
Since this morning I have now taken the following additional steps:
Added a new content type
Recreated the label for that content type
Change the content type of the document in the library, and the label
option now appears
This seems like a fix, but I am also curious as to limitations of
this method.
Limitations noticed so far: cannot edit SharePoint columns in the
details pane

People listage in SharePoint page

i have an intranet (which is my main website) and a several sub-websites, which refers to the departments of the company. I need to add a list with people related to department of the current web-site. The list can be the same view of the SharePoint native search.
I find this component (Search Results), which i was able to add my criterias (like people which department is equals to "HR"), and i get the right results. However, i couldn't find an way to make the view similar to the results of the image above.
Somebody can help me? Thanks
Edit:
I've changed the configurations to use "People Item" display index. Firstly, i had to import a javascript file. Then, even though that i had the right results, the properties aren't filled in the fields of the display item (as is shown in the image below).

SharePoint 2013's Content Query Webpart filter by post category

I'm completely new to Sharepoint and I couldn't get this to work. How do you make a Content Query display blog posts under a specific category?
I have these parameters set up but it always says "This query returned 0 items."
I tried looking around and found this possible solution but I don't know if this still applies to 2013 and I don't exactly know where the webpart files are. For something simple as this I'm pretty sure SharePoint has something like this, I just don't know what to do/where to look.
I've been stuck on this for a couple of hours now. Any form of help is appreciated!
current Webpart config

Sharepoint 2010 - List name and column header display name change through XSL

I have a site collection (localhost) that has two variations (localhost/en/, localhost/fr/).
I have a list in the root web (sampleList) that has the following columns: title, description, date
I have English and French pages (/en/samplePage.aspx, /fr/samplePage.aspx) that uses sampleList as a shared web part.
Is there any way of modifying the web part on the French page (perhaps through the XSL Link field on the tool part) such that I can modify the list name and the column names of the list to be displayed in French?
You should be able to do that in SP Designer. Here's a tutorial kinda what you need:
http://maulikdhorajia.blogspot.com/2011/06/sharepoint-2010-customizing.html
You'll want to edit the page in designer ("edit in advanced mode") - then do steps 7 - 10 from the link. After that, it'll be a matter of locating the references to the column names, removing them, then hard coding in new French names.
One word of caution, there's a tricky bugger related to ddwrt:ghost="hide" tags you'll see in the xslt. Wherever you make changes, you'll probably need to find the preceding ddwrt:ghost="hide" and change it to ddwrt:ghost="" - or else you'll see your changes in desiger, but not in the actual site - you can read more about that here: http://www.sharepointbandaid.com/ddwrt/
In general, I usually had trouble do this, I preferred using the content query web part instead. Also, hopefully this all makes sense, I haven't been in-front of SharePoint for awhile so I'm working from memory (which ain't what it used to be).

SharePoint 2010 NewForm.aspx Lookup Fields Issue

I have a SharePoint 2010 Foundation site that has recently been upgraded from WSS 3.0. The upgrade was completed successfully with no glitches.
However, ever since I have upgraded the site I have got a problem relating to lookup fields on the NewForm.aspx (New list entry page) on some calendar lists that were existing on the site prior to the upgrade.
The issue is that I have two lookup fields, one for Client and another for Meeting Type / Location. When I am on the NewForm.aspx (new list item entry page) and I select an entry in one of the lookup fields the second doesn’t allow me to select anything and just gives me the top value in the lookup list without offering any other alternative selections like it should. These fields are just standard SharePoint Lookup fields and are not modified in any way, nor is the page. This problem does not happen on new lists I create (with more than one lookup field in them) in the site nor does it happen if I add extra lookup fields on the existing lists, it just leaves these two fields with issues.
I have used Internet Explorers debugging tools to see if there is an error in any of the JavaScript on the page but nothing is being reported as being a problem and I have also tried rendering the page in different standards in Internet Explorer to see if it is related to the browser but these do not many any difference. One thing that is apparent though is that the values for both lookup fields are being pulled in to the HTML of the page as I can see them when viewing the HTML source of the page when it has loaded and in the Developer Tools in Internet Explorer…
If anyone has any experience of things like this and could point me in the direction of a fix for this I would be very grateful...
Many thanks in advance...
Take a look at these two links. This first might be your issue and while the fix was included on August 2012 CU you still have to make a manual edit (not a true fix in my book)
http://support.microsoft.com/kb/2598273
http://support.microsoft.com/kb/2687375

Resources