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

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

Customizing Most Viewed Content Web Part

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

I added a Web Analytics web part to my sharepoint page and opted for it to display the most viewed content. Is there a way to get these results to show page titles instead of urls?




View Complete Post

More Related Resource Links

Customizing the Content Query Web Part in SharePoint Server 2007

Walk through how to customize the Content Query Web Part in SharePoint Server 2007 to query content across multiple sites in a site collection and display the results in any way that XSL can support. Learn how to get similar results when customizing the CQWP does not meet your needs.

Issues after customizing Content Query Web Part


I have used CQWP in my SHarepoint 2010 application where i have done following steps..

1.Add CQWP

2.Provide query to use content

3.Exported the CQWP

4. Change the properties in .webpart file (itemXSL link, mainXSL link, XSL) to refer to my cutomized ContentQueryMain.XSL and ItemStyle. XSL, these 2 XSL's are stored in new folder in Style library

5.After the changes when i import the web part i am not able to open the properties when CQWP is applied in my UI (on clicking EditWebpart)

Kindly provide me some ideas so that i can resolve this problem..!!

Customizing Content Query Web Part (SP-2007)


Hi , i tried following to customize the CQWP as


connect the CQWP and configure according with my new "Template".

Add Column as 

<property name="CommonViewFields" type="string">Title, Text; Description, Note;</property>

 every thing is file but when i want to show this in another page again i have to do this again (Export and Import add "CommonViewFields".

 My Question is that is there any other method so that i don't have to add the "CommonViewFields" only have to change the XSL Template ....


Thanks and Regards Er.Pradipta Nayak

Content Query Web Part missing in SharePoint 2010

If you don't see content query web part listed in the web parts list, this is because you have not enabled "Search Server Web Parts" feature in site collection features. Enable this feature and content query web part will show in the list of web parts.

Cutting Edge: Managing Dynamic Content Delivery In Silverlight, Part 2


This month Dino continues his look at managing dynamic Silverlight content by discussing caching and isolated storage.

Dino Esposito

MSDN Magazine February 2009

Cutting Edge: Managing Dynamic Content Delivery In Silverlight, Part 1


This month Dino tackles the problem of large download size for Silverlight applications, explaining when to use streaming, when to divide the download, and other techniques for better performance over the wire.

Dino Esposito

MSDN Magazine January 2009

Security Briefs: Customizing GINA, Part 2


GINA, the Graphical Identification and Authentication component, is a part of WinLogon that you can customize or replace. Last month I introduced GINA customization; this month, I'm going to drill down to implement each of the GINA entry points.

Keith Brown

MSDN Magazine June 2005

Security Briefs: Customizing GINA, Part 1


Over the years I've had many people ask me to write about GINA, the Graphical Identification and Authentication component that serves as the gateway for interactive logons. This month I'll begin my coverage of this topic to help you get started if you're tasked to build such a beast.

Keith Brown

MSDN Magazine May 2005

Content Editor Web Part in default.aspx not copied over.


I have a CEWP with some content in the default.aspx page on one site, and I downloaded and uploaded the default.aspx page to another site collection. But when I display the default.aspx page in the browser the CEWP is not there anymore.

Is the CEWP detached from the default.aspx page and must also be copied over to the new site collection? If so, then where is the CEWP stored?

Thanks for any help. 

Customizing Web Part Properties


 I am writing a web part for SharePoint. To define a custom property that will render as a dropdown list in tool pane For That I need the variable in a type of enum.But that dropdownlist has to be populated dynamically(i.e droplist items are supposed to the list&document lib names in the entire site collection),Which is not supported by Enum.I am extremely new to coding.any help is highly appreciated .

Thankz in advance.



Display the content of a Word document in a web part?

Hello all,We are planning to display the content of the word document pulling document from document library in a web page in sharepoint as a web part.So, based on above requirement , I have to display word document in a container/control which allows word document to edit, read and save it back to document library.I know that if you have Office 2007 installed we can convert the word document to web page and display it in the page viewer web part but we have office 2003 suite. So we are looking for web part which can display the content of the word document inline with the web page.Thanks in advacne,Chakri

Why is the Content by Query Web Part CommonViewFields attribute not working as expected?

I am using the Content by Query Web Part to show data from a Custom List.  I have already added to the XSL "ItemStyle" sheet so that I can pick the correct Item Style.  That has worked fine - I have been able to show whatever fields I would like and apply any CSS Styles I would like to them.  The issue I am having is in formatting the field correctly.  I have two different fields in my current example that need to be formatted: [1] I want to show an Image, but right now it shows the URL  [2] I want to show Rich Text, but right now it shows all the HTML Code as Plain Text.  I have looked at many articles online, and they all tell me to change the following in the WEBPART file from: <property name="CommonViewFields" type="string" /> to: <property name="CommonViewFields" type="string">Thumbnail, Image;Teaser, RichHTML;</property> What I am doing wrong?  The Web Part still runs, but it does not format the fields any differently.  Thanks for the help!

Reading a content of a web part with Object model

Hi, I need to programmatically read content of a web part (it's a content editor web part). Is it Possible? I'm planning to create an event receiver on a Page library which will read content of a web parts added to the selected page on a item added event. How can I get collection of a web parts on a page and how can I read their content. Thank you all. 

Why do we need Common view fields in content query web part?

I am a bit confused on the purpose of "CommonViewFields" in CQWP. Almost all the write-ups on the web says that if we need a custom column to be available in the web part's XSL, we need to export the webpart file, add the columns to "CommonViewFields", import the web part to the site. However I noticed that, when I create a custom style template in my "ItemStyle.xsl" and simply add a line like <xsl:value-of select="@MyCustomColmn"/>, then "MyCustomColumn" appears automatically under "Fields to display" in the tool pane as a text box prompt, when I edit the web part and select my style template. I can then simply fill-in my column display name under "MyCustomColumn" and the web part works perfectly fine. (There is NO NEED to export the web part, edit the ".webpart" file and add "commonviewfields" etc..etc..etc) If this works, then what is the real need for "commonviewfields" ? Can someone shed light on this? I am totally confused.. (SharePoint 2010)          

Content Query Web Part (CQWP) fails to show picture items from a document/picture library in an anon

I have a Picture Library and am trying to use the CQWP to display a list of items in the library.  The web part shows the items fine in authenticated mode, but it fails to show the items to anonymous users. The error log message is: Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb web, DataRow row, String strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, String fileRefColumnRef, String progIdColumnRef, String fsobjTypeColumnRef, String permMaskColumnRef)     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) I'm running SP 2010.  I've tried various scenarios including: 1. Using the default publishing template. 2. Using the blank site template with publishing and lock down features enabled. 3. Us

Add Web part with content other site

Hi.. I need add web part (view custom list) in Home Page. Site |--- Home Page (where need add web part) |---|------- Sub-Site |---|-------|---- Custom List (source data, for web apart in home page) The list in sub-site. The web part nedd view: Title, Description (text, image, hyperlink) When I add a web part, I am not allowed to view the description field as well. I tried to add the description field and appeared in the XML web part of the list. How should I do? Accurate they are added the web part so that the list shows all content, including the description field that contains images. Thanks..
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