Data view web part to display the most frequently accessed pages based on the user that is logged in

I am working on a project in which I would like to display the top 5 most accessed pieces of content as links, based on the user that is logged in. Our MOSS 2007 implementation has subsites for all regions that we do business in, as an example North, South, East, and West. When a user visits the North region homepage, I would like a web part to display:
Hello, <username>, here is a listing of your most accessed content:
Link to One
Link to Two
Link to Three
Link to Four
Link to Five
So each user would get a customized list based on their content access. We are not using my sites, but these would not work as we want the list to display on the home page of the region site.
I am thinking that a data view may work here, but I am not sure. Any help is greatly appreciated.

If you are running MOSS you may want to take a look at the Relevant Documents web part too.
http://office.microsoft.com/en-us/sharepointserver/HA102410251033.aspx
The Relevant Documents Web Part helps you create a personalized view of the documents that you create, check out, and change. In a large Document Center, the Web Part can save you time and effort by making files easier to find and use. The following figure shows the Web Part:

Similar Messages

  • How do I set the scope to recursive in the Data View Web Part in SP 2013?

    How do I set the scope to recursive in the Data View Web Part in SP 2013?
    I have items in folders that I would like to display in the data view web part out of their folders.  I know that I need to set the scope to recursive.  I found documentation on how to do it in 2010, but since they removed all views other than
    the code view, I am unsure about how to do so.
    Link to article describing how to do what I am trying to do in 2010:
    https://www.nothingbutsharepoint.com/2009/05/13/data-view-web-part-folders-part-2-aspx/

    Hi,
    In SharePoint Designer 2013, we can click the code of the Data view web part. Then switch the tab to "OPTIONS". And then we can find the Folder Scope option, you can select "Show All Files of All Folders"
    to achieve your requirement.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Modify the data source of a data view web part

    I have a dataView web part deployed in a template in multiple site collection. This dataView hasn't any query set up, so it loads a lot of items and this is slowing down my system.
    Now I want to programmatically put a query overriding the existent (empty) one and I'm doing like this:
    System.Web.UI.WebControls.WebParts.WebPart y = (System.Web.UI.WebControls.WebParts.WebPart)item;
    Microsoft.SharePoint.WebPartPages.DataFormWebPart z = (Microsoft.SharePoint.WebPartPages.DataFormWebPart)item;
    StringBuilder dataSourceString = new StringBuilder("<%@ Register TagPrefix=\"sharepoint\" Namespace=\"Microsoft.SharePoint.WebControls\" Assembly=\"Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<%@ Register TagPrefix=\"WebPartPages\" Namespace=\"Microsoft.SharePoint.WebPartPages\" Assembly=\"Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\" %>");
    dataSourceString.Append("<sharepoint:SoapDataSource runat=\"server\" SelectUrl=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx\" InsertUrl=\"\" UpdateUrl=\"\" DeleteUrl=\"\" SelectAction=\"http://schemas.microsoft.com/sharepoint/soap/GetListItems\" InsertAction=\"\" UpdateAction=\"\" DeleteAction=\"\" SelectPort=\"ListsSoap\" InsertPort=\"\" UpdatePort=\"\" DeletePort=\"\" SelectServiceName=\"Lists\" InsertServiceName=\"\" UpdateServiceName=\"\" DeleteServiceName=\"\" AuthType=\"Basic\" AuthUserName=\"contoso\\administrator\" AuthPassword=\"pass@word1\" WsdlPath=\"http://intranet.contoso.com/sites/spc/_vti_bin/lists.asmx?WSDL\" XPath=\"\" ID=\"SoapDataSource3\">");
    dataSourceString.Append("<SelectCommand><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><GetListItems xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"><listName>Jobs</listName>");
    dataSourceString.Append("<Query><Where><Eq><FieldRef Name=\"Title\" /><Value Type=\"Text\">2012_080_A_0</Value></Eq></Where></Query>");
    dataSourceString.Append("<rowLimit>9999</rowLimit></GetListItems></soap:Body></soap:Envelope></SelectCommand><InsertCommand></InsertCommand><UpdateCommand></UpdateCommand><DeleteCommand></DeleteCommand></sharepoint:SoapDataSource>");
    z.DataSourcesString = dataSourceString.ToString();
    manager.SaveChanges(z);
    In my code, I can see the DataSourceString changing, but if I refresh the page it is still loading all the data: why?!

    Hi,
    According to your description, my understanding is that you want to change the data view web part datasource programmatically.
    We need to override the databind method like below:
    public class ExtendedDataFormWebPart : DataFormWebPart
    public override void DataBind()
    this.DataSource = your own data source;
    base.DataBind();
    Here is a detailed code demo for your reference:
    http://jamestsai.net/Blog/post/How-to-query-cross-site-lists-in-DataFormWebPart-Part-1-Build-your-own-data-source-for-DataFormWebPart.aspx
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Filter in data view web part using sharepoint designer 2010

    Hi,
    i have a scenario that there are 4 column Name, shift time, Location, Date. so i have to create a data view web part using designer. 
    further conditions are:
    1.Shift time should be radio button and filter the data accordingly.
    2. Data display only for current date(system date).
    3. Group by Location.
    i have complete all things except how to display data according current date. its showing all dates result.
    So please help me how to give a expression or filter to do this. if you have xslt code then plz let me know.
    Please help ASAP.
    Thanks
    Vivek

    Hi Vivek,
    If i understand it right, you know how to do other bits and want help in displaying data for only current date. on your view you can use filter condition as :
                    column: Date
                    condition : is equal to
                     value:     [Today]
    Let me know if this helps.
    Regards
    P
    Please don't forget to mark an answer if it solves your problem.

  • SQL Report Viewer Web Part Not displaying Report

    I have just completed updating an old report using report builder 3.0. I have added it to SharePoint Designer but have not replaced the old report file. 
    Any help is greatly appreciated!!
    All I did was export the old report from sharepoint designer to my desktop. Then opened it with Report Builder 3.0- made changes to the report and saved it with a different name (for safety in case i break things) and then upload it back to the same place where
    the old report was located using SP Designer. I then went back to the site in sharepoint that is displaying the old report, and changed the URL path in the SQL report viewer to the new report. 
    Now the SQL Report Viewer web part isn't showing anything (blank)

    Dear Form Moderator,
    This question is already asked in sharepoint forum so please don't move this sharepoint forum. Here is link of thread:
    https://social.technet.microsoft.com/Forums/en-US/3796da85-fbb4-4722-a5d0-724859f7d4ae/sql-report-viewer-web-part-not-displaying-report?forum=sharepointgeneralprevious
    Here is the one more duplicate thread link in same forum. So either you can merge both OR delete one.
    https://social.technet.microsoft.com/Forums/en-US/259d2586-ed4a-4f47-a808-877d4621d9f2/report-builder-30-sql-report-viewer-web-part-not-displaying-report-in-sharepoint?forum=sqlreportingservices
    [SharePoint Forum Moderator]
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Sharepoint 2013 Web Parts missing - XsltListViewWebPart, Data View Web Part ...

    Hi,
    I'm using a SP2013 standalone dev server and I can´t find some web parts like XsltListViewWebPart and Data View Web Part.
    I was expecting to find a category like "Lists and Libraries" or "Authoring" but I can´t find it.
    I'm a site collection admin and have standard, enterprise and publishing features activated.
    Shouln´t I see those Web Parts?
    I noticed that I don´t have any file "XsltListViewWebPart.webpart" on my server file system. should it exists there?
    Thanks,
    DD 

    Hi,
    If you want to add a XsltListViewWebPart into page via UI.
    In SharePoint 2010, we can find in "Lists and Libraries" category.
    In SharePoint 2013, the category named "Apps".
     Best Regards
    Dennis Guo
    TechNet Community Support

  • How to List view web part to display document library for only users with access permission

    Hi
    I am trying to accomplish this requirement but I don't know if that is possible or how to get there.  Any suggestion or advice are helpful.
    On a site collection, I have several document libraries,  with each library have unique permission to a few user or SharePoint group.
    I want to create a web part page and make that the site home page.  On this web part page, I want to create a Content Search Web Part to list the content of the document library that the logged on users have permission to see. 
    Is this possible with CSWP or is there anything easier or if it is not possible at all,  please advise.
    Thanks
    Swanl

    Hi ,
    Based on your description, my understanding is that you want to create a Content Search Web Part to list the documents that the logged on users have access permission.
    It is feasible with CSWP, you can follow the below step:
    Edit Content Search Web Part->Change query-> Select a query: Items matching a content type (System); Restrict by app: Current site collection; Restrict by content type: Document.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]

  • Items to display in list view web part not showing the items setup

    Hi, I have the following issue. I have a list view web part, but the web part is showing more items that the ones setup in the: Number of items to display in list view web part for this view.
    It is because that works when using datasheet view and not a normal view? Is there any technical documentation from Microsoft supporting this?

    thank you for your answer. It is interesting that the mobile view with the items to show in the mobile view doesn't work in the webpart, but it works when you are using datasheet view, but if you uncheck to activate the mobile view, then, the webpart doesn't
    show information, so, it works partially because one part works and not the other.

  • Page Viewer Web Part Not Displaying

    I've added a Page Viewer to my SharePoint site underneath a Content Editor. When I'm editing the Page Viewer Web Part I can see the page but if I close the Web Part editor the page doesn't display.
    If I move the Page Viewer Web Part above the Content Editor it displays but the Content Editor does not.
    Anyone have any ideas?

    Do you have HTML or a script written in your Content editor? maybe the code isn't properly formatted with proper opening of elements or closing of elements? I'd start there. Also try using the F12 in your IE browser to inspect the HTML the page is displaying.
    That might help zero in on the problem.
    Alex

  • How to configure search results web part to display results only after a query is generated from user?

    Hi All,
    I am crawling documents from a file server. I created a new content source and crawled the documents. All documents are crawled successfully.
    Then I went to my enterprise search center site collection and created a new result source. I have added the query to use above content source.
    After that, on a page I am trying to configure the search results web part to display documents using this result source. Now the problem is:
    It displays all the documents that are crawled without searching for anything. I mean first it should not display any results. If a user searches for something , then according to that search it should display results.
    Any idea how to do this in the web part? I am using SharePoint 2013 on premise enterprise edition. No code. Totally OOTB.

    Hi Mohan,
    What did you use for the Query text in the result source?
    I could reproduce this issue when I used Query text like: {searchTerms} Path:”http://sps2k13sp/sites/First/Shared%20Documents”
    Then I changed the Query to
    {?{searchTerms}
    Path:"http://sps2k13sp/sites/First/Shared%20Documents"}
    , then Search result web part didn’t return results without searching.
    So , check your result source, and use the Query like the above(adding "{?...}").
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Allow group to view a list view web part but not the original list?

    I have a list that contains a lot of details about current active projects our team is working on. I created a public list view that presents this list in a concise format for external viewers to see and have it on a separate page in a web part; however,
    we need to keep the original list (and all the extra data private).
    How can I keep the original list restricted, but allow permissions to the data that is in that public list view?
    I have already set up the page permissions and they are able to see the page, but the list has no data and displays a message that says "There are no items to show in this view of the "Projects" list.".

    There's no way to do this that I'm aware of without some kind of custom programming.  You could easily create a custom web part that runs with elevated permissions to get the data and display it in a read only fashion.  But to display data in
    any kind of out of the box web part users need permissions to see the data.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Data View Web Part - List of Subsites and Document Libraries under Current Site - Must be able to Package as Site Template in SPDesigner

    Hi Guys,
    On the home page of each sub site I would like to be able to show a list of subsites and Document libraries that are under the current subsite.
    I started investigating a solution using Datasources with SOAP requests sent to the server but it is very difficult to understand how to surface it on the Data View WebPart.
    I have tried with the search results webpart but the problem is that it does not work well when packaged in a Site Template.
    Please advise.
    Thanks and Regards,
    Rhyan

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • Getting error while adding field to data viewer web part

    I have custom EditItemForm for a custom list having over 100 columns. That EditItemForm contains a DataFormWebPart in edit mode having over 100
    <SharePoint:FormField controls.
    If I browse for the above page in internet explorer, I got got the generic error:
    "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such
    as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Correlation ID:XXXXXXX"
    I went to Log, and got the exact error details as follows,
    "Error while executing web part: System.StackOverflowException: Operation caused a stack overflow.     at
    Microsoft.Xslt.NativeMethod.CheckForSufficientStack()     at <xsl:template name="dvt_1.rowedit">(XmlQueryRuntime , XPathNavigator , Double , String )     at <xsl:template name="dvt_1.body">(XmlQueryRuntime
    , IList`1 , Double , Double )     at <xsl:template name="dvt_1">(XmlQueryRuntime , XPathNavigator )     at Root(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument,
    XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter
    results)     at System.Xml.Xsl.XslCompiledTransform.Tr..."
    Then I thought of removing some columns from the dataFormWebpart. I removed several
    <SharePoint:FormField controls from the dataFormWebpart. Then page started working fine.
    Please let us know if there is any workaround to fix this issue.
    Note: The same page was working fine in MOSS 2007 before migrating to SharePoint
    2010.
    Sharepoint Consultant from NY, USA

    In SP1 and earlier, you could sometimes fix this by breaking the "dvt_1.rowedit" template into smaller templates and calling them sequentially. Sadly, this no longer works in many cases.
    Microsoft's "fix" for this problem appears in the August 2011 CU (Possibly earlier in the June CU - haven't checked that one). They have implemented a one-second timer that artificially throws a stack overflow exception if a transform takes longer than 1
    second.
    Reflector shows us what's going on. As the stack trace shows, it's in Microsoft.Xslt.NativeMethod.CheckForSufficientStack().
    A dateTime variable has been set to Now + 1 second when a Microsoft.Xslt.NativeMethod.SetStackBarrier() method was called, then we have this gem:
    public static unsafe void CheckForSufficientStack()
    void* stackBarrier = StackBarrier;
    if (dateTime < DateTime.Now)
    throw new StackOverflowException();
    if (&stackBarrier < stackBarrier)
    throw new StackOverflowException();
    As you can see, there has been no real stack overflow, and there isn't even any provision for allowing a SharePoint admin to adjust the now-plus-one-second hack.
    The MSFT support person we spoke with said this code was added in the August CU to "prevent long transforms from bringing down the server." So... Let's see what the SP1 version of the same method looks like:
    public static unsafe void CheckForSufficientStack()
    void* stackBarrier = StackBarrier;
    if (((++callCount & 0xffff) == 0) && (dateTime.AddSeconds(5.0) < DateTime.Now))
    throw new StackOverflowException();
    if (&stackBarrier < stackBarrier)
    throw new StackOverflowException();
    Well, at least it allowed 5 seconds instead of 1....

  • Using xsl stylesheet with List View Web Part to display custom text

    Hi 
    i have an xsl stylesheet with sharepoint listview webpart. The list view shows some items based on a filter. I want to display custom text such as "No Items" when there are zero items in the list view using the xsl stylesheet. How do i achieve
    this. I have spent hours searching but couldnt find the exact answer. Please help me out. I am a light user not a hard core developer so I dont use Visual Studio. Thanks in advance

    Hi 
    I have customised the list view webpart using a custom xsl file by including it in the xsl link of the list view webpart. So i think i need to include the condition in the xsl file itself else it wont work. Since the list view webpart isnt using the default
    xsl. Please let me kknow if you have any idea about including a condition in xsl to check if there are not items in view. 
    The code of the xsl is included below.
    <!--
    This section is the set up and can be used at the top of any external XSLT stylesheet file
    -->
    <xsl:stylesheet
    xmlns:x="http://www.w3.org/2001/XMLSchema"
    xmlns:d="http://schemas.microsoft.com/sharepoint/dsp"
    version="1.0"
    exclude-result-prefixes="xsl msxsl ddwrt"
    xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
    xmlns:asp="http://schemas.microsoft.com/ASPNET/20"
    xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:SharePoint="Microsoft.SharePoint.WebControls"
    xmlns:ddwrt2="urn:frontpage:internal">
    <xsl:output method="html" indent="no"/>
    <xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema">
    <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row" />
    <table>
    <xsl:for-each select="$Rows">
    <xsl:call-template name="dvt_1.rowview"></xsl:call-template> 
    </xsl:for-each>
    </table>
    </xsl:template>
    <xsl:template name="dvt_1.rowview">
        <tr>
      <td><img height="78" width="60"><xsl:attribute name="src"><xsl:value-of select="@Photo"/></xsl:attribute></img></td>
        <td>
        <table style="margin-left:10px;">
        <tr><td><xsl:value-of select="@FullName"/></td></tr>
        <tr><td><xsl:value-of select="@DOBinWords"/></td></tr>
        </table>
        </td>
      </tr>
    </xsl:template>
    </xsl:stylesheet>

  • Empty Data View Web Part

    I am using sharepoint Designer 2013 with SP2013,
    When I create a webpart page and insert a dataview to show data from a list in the site. It only shows a blank web page(Only the page name and nothing else). 
    I tried differnt data source but all have same result.
    Can anyone help?
    Thanks in advance.

    Maybe you can use this tutorial from microsoft:
    Tutorial link
    This can help too:  Link1 and
    Link2
    Hope this help.
    Best regards.

Maybe you are looking for

  • Vista 32 - ipod not recognized, failed to install drivers, disconnecting

    Hi to all, I have experienced a problem with my brand new Ipod classic 80GB and was flustrated by it. It took me some time ro research internet to find a fix for this problem and i would like to share it with you to have it at one place. If such arti

  • My InDesign Library Crashes InDesign

    I have two screens and keep all of my palettes on the right screen. When I cross over to select the InDesign Library to grab something, it crashes my InDesign. It is the ONLY palette that causes an issue. If I remember to save the file I am working o

  • Dynamic List for IN Operator

    I'm just wondering if there is anyway this is possible. I have a function which generates a list of ids which I am using in my where clause. It looks something like the following: SELECT blah from blahblah WHERE blahblahblah IN function_blah(####) fu

  • Un-installing of programs or files ?

    I went to clean PC of programs or files we don't use ... Need to ask I have so many of java Java 2 runtime Environment SE V1.41_02 '' '' '' '' '' ''' _03 '' '' '' '' '' ''' _05 '' '' '' '' '' ''' _06 '' '' '' '' '' ''' 42_01 '' '' '' '' '' ''' 42_03

  • Lost ASP JavaScript Recordsets when I upgraded to CS 5.5

    I upgraded from CS4 to CS5.5  All the pages in my site that had ASP JavaScript recordsets are now showing that they have no recordset in the Bindings tab/window.  If I hit the + sign, the only option I have is "Spry Data Set".  How do I get CS 5.5 to