Skip to main content

Cross Site List Rollup Web Part for SharePoint 2010


Hi
I was wondering that how to show a list from other site on my home page. But I didn’t get any proper & free solution. So I decided to create a Cross Site List Rollup Webpart .

Now I have developed a Cross site list rollup web part which can show your list from any site to any site (within site collation only) and I am ready to share this web part with all of you. 

It’s too simple in use. You have to just provide a:

  •   Site URL (Site URL from where you want to display list or library).
  •   List Title (Display Name of List) (Title of the list which has to be on given site URL).
  •   View Name (Name of view which you have created to show in this web part).


Now it is ready to use.

Enjoy!!!



24 comments

Popular posts from this blog

SharePoint Interview Questions and Answers

SharePoint Interview Questions and Answers

Get More Questions and Answers

QWhat is SharePoint?AnsSharePoint is a browser based document collaboration platform given by Microsoft.

QWhat are features of SharePoint 2010?AnsSome features are :
·Document Collaboration ·Enterprise Search FAST Search ·New Enhance Web Part ·Ready made Silver Light web part ·Business Connectivity Services ·Social Media Investments ·Large lists ·Enhanced collaboration features ·Visio Services ·Usage reporting and logging ·Better Network Differencing & SharePoint Offline in SharePoint Workspace ·High Availability/ Disaster Recovery Innovation ·Admin Insights through the Logging & Usage database, and dev dashboard ·Service Applications ·

How to get current logged user information using JavaScript ?

This is post which is simple and not really needed. But when I started writing the code in ECMAScript I have faced problems in getting the logged in user information. So, my readers may feel good after see this post and really most the users are looking for this too.
By this time, we have really understood all about ECMAScript Client Object Model and debugging. So, it's easy for us to know it well.
Please find the code below to get the current user information.


<asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">

Now copy & paste this JavaScript code after above mentioned tag :
<script type="text/ecmascript">

        ExecuteOrDelayUntilScriptLoaded(getUserData, "sp.js"); 


    // To Get Current User Name
    var context = null; 
    var web = null; 
    var currentUser = null; 
    var currentUserId=''
    function getUserData() {

            context = new SP.ClientContext.get_current(…