.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Content Query Webpart + Managed Metadata + Public facing site

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :SharePoint

I have content query webparts to fetch data based on filter on managed metada its work like charm but not working on Public facing site.

i mean on public facing site its not showing data.i check all pages in library are published and also all css and custom .xsl file also published.

please advise me

Thanks Ron

View Complete Post

More Related Resource Links

CQWP with Managed metadata on Public facing site


Hey Guys,

I have situation which driving us insane.Basically we have web application which extend to internet zone for public facing site in sharepoint 2010.

Now i have some CQWPs which query on page based on content type which use managed metadata as columns.

Now this CQWPs work on Intranet zone but did not work on Public facing site so i go ahead activate feature Content type hub and Publish content type and run content type hub and content type subscribe jobs after sometime it shows up all data on public facing site........i said wooooooooooo.

But on next day(yesterday morning) no data then in yesterday noon it start appears and today morning there is no data again i have no clue wats going on.


Please advise me

Thanks Ron

Setting Managed MetaData default values on site creation

I am working on a project where the requirement is to have specific document content types.  I have therefore create a site columns feature which creates all my columns, I have a Site Contentypes feature which creates all my content type and I have list templates based on my content types.  I also have created a couple of Site definition features which create specific list instance based on my list template As part of my content types I have created a few Managed Metadata fields which I wanted to set defaults for on the creation of my sites.  I have therefore created a feature which is right at the end of the WebFeatures section in my ONET.xml.  This features enumerates through all lists, looking for specific column names(managed metadata columns) and looks to set these to specific values.  The code to set the default value on the field is: TaxonomyField documentCategoryField = (TaxonomyField)library.Fields["Document Category"]; if (documentCategoryTerm != null) { documentCategoryField.DefaultValue = documentLibraryDefault.ToString(); documentCategoryField.Update();                                                     }                         &n

How do I publish public facing SharePoint site(on internet)?

I developed public facing SharePoint 2010 portal publishing website using Window Server 2008 R2 and SharePoint 2010 Server and SPD 2010 on my computer. I have custom master page, page layout, css…. I want to publish it(on the internet).  I want to know cheap host and domain name service provider Company and steps to do it. I’ appreciate any advice in advance.

cross site-collection content query wp

Hi,How can i override the Content query wp so i can query data from other site collection? Is it possible?How? Recommended ways? alternatives? references?the site collection is under another site collectioni did some googling and only found a comercial wp for this..tks

Problem with Content Query Webpart and Custom Userfields

Dear Community, I am using Sharepoint 2007's content query webpart to access content types from 2 lists each contained in a different sitecollection. To achieve this, I used this tutorial: http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx. The tutorial worked great. By using the property CommonViewFields and modifing the XML Stylesheets accordingly, i could access almost every field. Even User Fieldtypes like editor and author were accessible by adding (editor,User) or (author,User) to the CommonViewFields property. But when I tried to access the custom made userfield "Username" in the same way (adding Username,User to the property), the webpart threw an error and couldn't be displayed anymore. When I changed it to Username,Text , no error occured but it naturally didn't show up, since it is the wrong fieldtype. I hope some of you can help me, since all my researches on this topic only brought up some more people with the same problem, but no solution to it. Thanks in advance, SoundofSilence

Content Query Web Part, QueryOverride and sorting by site

Hello, I want to display documents from various sub-sites in my portal. These documents must be grouped by site and only documents created in the last 7 days should appear in the CQWP. The first difficulty I encountered was that I cannot apply a filter like " date created< today - 7" in the tool pane of CQWP. So I searched the web and found that I can create a custom query by exporting the web part and changing the QueryOverride property. Thing is that you cannot specify a CAML group clause in the QueryOverride property. It is just not supported. It seems though (thanks to this post: http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/92e335ad-48f6-4572-a314-752c8b41ef8f) that if you specify a "order by" clause for the field you want to group by, then you can use this field in the group by section of the CQWP tool pane. Thus, I need to sort my results by site (because I want to group by site afterwards). But how do I do that? After another long research, I found out (http://msdn.microsoft.com/en-us/library/ff380147%28office.12%29.aspx#odcsp2007CustomizeCWQP_CustomizingUsingtUIwebpartFile) that I have to specify the ViewFieldsOverride property in order to include the original site that my document comes from. And in the property I have to include the following property: <ProjectProperty Name="Title"/>. But still I ca

Sharepoint Content query Webpart

hello all ,             i want to create a webpart, which should display HTML code. and i need to edit the HTML source code.. how can i do it in sharepoint and which project i need to choose to create this webpart

Dynamically Setting the property value FilterValue1 of the Content Query WebPart? Inline? codeblock?

I want to dynamically set the FilterValue1 property of a Content by Query to the querystring ID. I tried to do it with an inline embed FilterValue1="<%= Reponse.Write .. but no luck Without having to code my own webpart, any way to change the value with a small C# code block? How about with javascript? Thank you!    

Content Query webpart


I have created contnet by query  webpart  to diplay the results 5 per page

How to write the xsl code in sharepoint 2010 for content by querywebpart
explain step bystep.
I want to display the  5 itesm perpage.
Like this
in first page the 5 results should diplay
in seconpage the next 5 results should diplay.

Host-named site collections and content deployment jobs (SharePoint 2007 Internet facing Web Sites)



I have an editing web application with multiple site collections (only accessible internally on a dedicated port), and I've one public facing web application (on port 80). Now I want to create several host-named site collections in the public facing web application (to limit the number of web apps in the farm), and then use content deployment jobs to push the content from the site collections on the editing web app into these host-named site collections.

Does anyone have any experience with this?
Do you see any issues?


Content Query webpart paging


I have created contnet by query  webpart  to diplay the results 5 per page

How to write the xsl code in sharepoint 2010 for content by querywebpart
explain step bystep.
I want to display the  5 itesm perpage.
Like this
in first page the 5 results should diplay
in seconpage the next 5 results should diplay.

Content Query Webpart to show edit item link field in SPS2010


I have a Content Query Webpart in SharePoint 2010 that I would like to surface Documents grouped by content type. I wish to show the edit form or view Properties link as part of the fields shown in the results. When the User clicks on this link, it should take him to the edit form or view Properties page for the document.

Any ideas?

Content Query Webpart Missing Content Type and Approval Status


I'm a great fan o the CQWP , and love the changes made in 2010 on this webpart. What bothers me is that I use to Filter Documents by Approval Status, thus showing Draft or Pending Documents and Group these by their Content Type.

Both these were available in 2007, but removed from 2010 CQWP. Any idea why, or how to bring this back? sample or URL guidance would be great. My gut feeling is custom XSLT but id like to confirm this first.

Thx a lot



Content Query WebPart (CQWP) not showing thumbnails of the rollup image



I have set up my CQWP to display pages from a newssite. This is working fine, but my rollup images is showing in full size. As I have understood, SharePoint has the ability to scale down pictures and showing them as thumnails.

In the "Fields to display:" I have set the path to "Thumbnail; Rollup Image; ".

Moss public facing site login



   is there a way to completely prevent login for a public facing Moss site? I have extended the web application so I have separate authentication providers and what I would like to do is prevent any login ability to the public facing side and all content authoring be completed through extended web app which is only available internally.

Hide view all site content from the public


I just wanted to know how I can hide "View All Site Content" from the public only (read-only) access.

Thanks in advance.

Content query webpart - presence icon not getting displayed



The ContentQueryMain.xsl has a template "CallPresenceStatusIconTemplate" for displaying the presence icon (Microsoft communicator presence) which is called from the ItemStyle.xsl template. The ContentQueryMain displays it based on the SipAddress. Though the SipAddress is updated in user profile store, presence icon is not getting displayed. Sip format is "sip:domain\username"

I tried printing all the fields that are available to CQWP using the below code

<xsl:for-each select="@*">
    P:<xsl:value-of select="name()" />

But in the field list I don't see SipAddress. I tried adding a site column SipAddress to the list that I'm binding, even then it doesn't get displayed in the field list.

Any suggestion is appreciated



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend