List of libraries/lists in SharePoint 2013

I want to get list of all libraries along with sizes ( including permissions if possible) in top level site collection and also there is subsite under this , I need same information for the subsite.
Is there any way we can get it through or some third party tools. Please help me.
Thanks, Ram Ch

I have no idea about Free tools.
http://tomvangaever.be/blogv2/2013/03/powershell-script-to-list-all-lists-and-libraries-with-unique-permissions/
above site give script for  get all the list with unique permission. I have do small change for get all the list. I am not yet test the changes so please check if any error please let me know.
01.cls
02.Write-Host "********************************************************************"
03.Write-Host "| This script will check all list |"
04.Write-Host "********************************************************************"
05.Write-Host
06.Write-Host "Loading Microsoft.SharePoint.PowerShell..." -ForegroundColor Yellow
07.Write-Host
08.
09.Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
10.
11.$siteURL = Read-Host "Please provide url of the SiteCollection"
12.$loglocation = Read-Host "Please provide path for the log file (hit ENTER to not store output)"
13.$site = Get-SPSite($siteURL)
14.
15.Write-Host
16.if($loglocation -ne ""){
17. start-transcript -path $loglocation
18. Write-Host
19.}
20.
21.Write-Host "--------------------------------------------------------------"
22.
23.$counter = 0
24.Write-Host "The following lists and libraries `r`n (results marked in Red might have an 64K ACL impact):" -ForegroundColor Yellow
25.Write-Host
26.
27.foreach($web in $site.AllWebs) {
28. foreach($list in $web.Lists) {
29.
31. $counter = $counter + 1
32. if($list.ItemCount > 1500){
33. Write-Host $list.DefaultViewUrl "- ItemsCount:" $list.ItemCount -ForegroundColor Red "`r`n"
34. }else{
35. Write-Host $list.DefaultViewUrl "- ItemsCount:" $list.ItemCount "`r`n"
36. }
37.
40. }
41.}
42.Write-Host "--------------------------------------------------------------"
43.
44.if($counter -lt 0){
45. Write-Host $siteURL "has no lists or libraries !" -ForegroundColor Green
46.}else{
47. Write-Host $siteURL "has $counter lists or libraries !"
48.}
49.Write-Host "--------------------------------------------------------------"
50.
51.if($loglocation -ne ""){
52. Stop-Transcript
53.}
54.Write-Host
Ravin Singh D

Similar Messages

  • Workflow is not visible for a list in an app in SharePoint 2013

    Hello All,
    I have created an app in SharePoint 2013 and added a basic workflow in this app.
    Though the solution gets deployed successfully, workflow is not visible in list --> Workflow Settings.
    Has anyone faced this kind of issue in SP 2013 App ? Please provide your inputs to resolve this issue.
    Thanks.

    Hi Supratim,
    I would suggest you that you try to analyze the workflow log and see where the workitem goes exactly.
    See if the workflow goes into error or if the workflow gets routed to the wrong agent.
    Also let us know how the agent determination is being done?
    Is it been done using rule or is it static agent assignment?
    Regards,
    Raj

  • Open Edit form directly when list item is clicked in Sharepoint 2013 list

    Hi,
    I have a list web part, wherein the user clicks the item it should open in the Edit form directly. various forum i checked was for SharePoint 2010, as we do not have design mode in SharePoint designer 2013, I am unable to do.. I know
    if I the change the form type from default page to edit page, it will work, but not sure about how to go ahead. Could anyone help me to achieve this please....

    Sunitha,
    You can do this with some jQuery and JavaScript.  Look at this post:
    http://brandonatkinson.blogspot.com/2013/11/open-sharepoint-2013-list-items.html
    Basically, add a Script Editor Web Part to the page and include this snippet:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
    <script type="text/javascript">
    $(function() {
    // Change all display form links to edit form links
    $('.ms-vb a[href*="listform.aspx"]').each(function(){
    var link = $(this).attr('href');
    link = link.replace("PageType=4", "PageType=6");
    $(this).attr('href', link);
    </script>
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • Slide Libraries discontinued in SharePoint 2013

    According to
    this page, the Slide Library Feature is discontinued.
    Dear SharePoint Team, what shall we use instead? How can we make sure we won't lose this functionality in future Versions?
    Thanks,
    Neno
    Neno Loje | MVP Team System

    It may be "deprecated", but it's still there (most likely for SP 2010 upgrade compatibility)
    The direct URL to create the old Slide Library:
    http://yourserver/sites/yoursite/_layouts/15/slnew.aspx?FeatureId={0be49fe9-9bc9-409d-abf9-702753bd878d}&ListTemplate=2100
    http://techtrainingnotes.blogspot.com/2012/11/finding-missing-sharepoint-2013-slide.html
    Mike Smith TechTrainingNotes.blogspot.com
    my SP customization book

  • Uploading multiple documents into sharepoint list item with REST in sharepoint 2013 using content editor web part :

    hi ,
    i am trying to upload multiple document files into sharepoint list item. I followed below link for implementaion.
    http://techfindings-prem.blogspot.in/search/label/jquery.multifilejs
    It was working for sharepoint hosted app.
     This complete code is written within content edito web part.
    It was working when i was in root site collection with below change (hard coded the root level url) in code in "UploadFile" function.
    var scriptbase = "http://servername" + "/_layouts/15/";
                console.log(' File size:' + bytes.length);
                $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    But the issue came in picture when i was working with the other site collection instead of root one. The url was like below.
    "http://servername/sites/cpg/". This time i need to be there within "cpg" site collection. 
    Now if i hard code the url as i did above my code gets break here while come to below line
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
    I am getting error when i used below code:
    var scriptbase = "http://servername" + "/_layouts/15/";
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    Please hekp in this case. This complete code is written within content edito web part. 
    Regards:
    Sanjay Joshi

    Hi,
    According to your post, my understanding is that you have an issue about upload multiple documents files into library vai REST API.
    As you have said, you have used the hard code url in your code.
    How about use the _spPageContextInfo.webAbsoluteUrl method to get the url?
    I have used this method to get the url, then use the code in the article you have pasted within a content editor web part to upload the files.
    You can replace the hard code url with the _spPageContextInfo.webAbsoluteUrl method, then check whether it works.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • Custom List Form creation using Powershell - SharePoint 2013

    Hi,
    I have a custom List called 'IssuesList' with 4 fields - "IssueTitle","IssueID","IssueDesc","Status"
    While displaying display form I should show 3 fields expect Issue ID i.e. IssueID should be hidden.
    and on edit form only Status field should be editable. So using SharePoint designer I created respective Edit form and display forms and changed XSLT to control the display mode on the fields.
    I have everything scripted in powershell till now - creation of custom list, publishing pages, webparts etc. however I am looking for how to provision or associate these 2 list forms with IssuesList after I create the list in new site.
    I have restrictions on using wsp and site/list template due to business needs. So I need to know if there is any way I can upload these 2 files after I create custom list in powershell and associate them as defaultdisplay and defauteditforms?
    Please advise.

    Hi,
    Per my understanding, you might need to apply these custom forms to a list after list creation using PowerShell.
    With PowerShell with SharePoint Object Model, we can hide fields on list forms.
    The similar thread below with code snippet will provide more information about this:
    https://social.technet.microsoft.com/Forums/en-US/ee6fc2eb-197f-4144-94fa-8a4e438675d9/hide-a-field-from-edit-form-list?forum=sharepointgeneralprevious
    If there may be other requirements except for hiding fields, as you have limitation on using custom solution package(which should be preferable in such scenario),
    a workaround I can provide is that, after list creation, you can add Content Editor Web Part contains the CSS style or JavaScript to the form pages of a specific list, it will help you hide/disable the specific elements, this can be achieved programmatically.
    The code below can add a Content Editor Web Part to the DisplayForm of a list(though in C#):
    public static void AddCEWP()
    SPLimitedWebPartManager manager = null;
    SPFile file = null;
    using (SPSite site = new SPSite("http://sp"))
    using (SPWeb web = site.RootWeb)
    try
    web.AllowUnsafeUpdates = true;
    file = web.GetFile(web.Url + "/Lists/List018/DispForm.aspx");
    manager = file.GetLimitedWebPartManager(PersonalizationScope.Shared);
    ContentEditorWebPart webPart = new ContentEditorWebPart();
    XmlDocument xmlDoc = new XmlDocument();
    XmlElement xmlElement = xmlDoc.CreateElement("HtmlContent");
    //xmlElement.InnerText = "<strong>Hello World!</strong>";
    //write the custom CSS style or JavaScript here
    string content = "<style>your custom style here...</style>";
    xmlElement.InnerText = content;
    webPart.Content = xmlElement;
    manager.AddWebPart(webPart, "Top", 0);
    manager.SaveChanges(webPart);
    web.Update();
    catch (Exception ex)
    //Utility.SPTraceLogError(ex);
    finally
    if (manager != null)
    manager.Dispose();
    web.AllowUnsafeUpdates = false;
    About how to hide fields on Standard List Forms using jQuery:
    http://social.technet.microsoft.com/wiki/contents/articles/21730.sharepoint-2010-conditionally-hide-fields-on-standard-list-forms-using-jquery.aspx
    http://stackoverflow.com/questions/10010405/how-to-hide-a-field-in-sharepoint-display-form-based-on-the-field-name-jquery
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • Get list items using spservices for sharepoint 2013

    Hi,
    I have a requirement like below.
    I have 2 sharepoint custom list with some columns.
    List1:listA
    List2:listB
    Now when i open the listB new item form i want some of the field values from listA should auto populate in Textboxes of listB new form.
    Is there any ways to implement this?
    Regards,
    Poovi

    Hi Poovi,
    You can achieve this using jQuery to get the SharePoint list items. Refer the below articles. It has explained how to get list items using jQuery and auto populate a text-box from a list item as a source.
    You can put this code in list forms through SharePoint Designer. The articles explain about auto populating text box of web part but similarly you can implement it for list form, because nevertheless the text boxes are same.
    http://www.c-sharpcorner.com/UploadFile/sagarp/sharepoint-2010-jquery-autocomplete-textbox-containing-list/
    http://tomvangaever.be/blogv2/2011/07/sharepoint-2010-autocomplete-with-list-items/
    Please remember to click 'Mark as Answer' if the reply answers your query or 'Upvote' if it helps you.

  • Custom list in Sharepoint 2013 for training booking purpose

    Kindly note that I am trying to  do custom list in Sharepoint 2013 for training booking purpose
    As below :
    The user should enter the user name  - it works fine
    The user should select the data from the choice list
    The requirement is , I need to limit in each  day of the training 20 seats (20 booking only) only
     Can you advise how to do so.
    [email protected]
    Basil

    check below post and video on how to build the event receivers
    http://www.sharepointpals.com/post/How-to-create-a-custom-list-level-event-receiver-in-SharePoint-2013-and-SharePoint-2010
    https://www.youtube.com/watch?v=wZf2xvEM5Io
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Allow All Users To Add List Items But Only Certain users To Edit Them (SharePoint 2013)

    How do we allow all users to add items to a list, but only allow certain users to edit the list items? Site is SharePoint 2013. We have tried creating custom permissions. That does not seem to work.

    I've setup a custom list on my SharePoint Foundation using a custom permission level to accomplish this.  I setup a custom permission level on the site called 'Add Only to Lists'  which allows adding an item to the list and setup the group with
    the default read and the custom permission level and it works.  The users in the group get the add item but do not get edit item, not even items they created themselves.
    Any users who should have full edit permissions can be setup under the normal edit/contribute/design permission level and work normal.
    Below is the Role Definition pulled via PowerShell and Role Assignments on the list in question.  As well as a picture showing what it looks like to something assigned that role level.
    Role Definition
    Name : Add Only to list
    Description : Can add items to a list but cannot edit or delete
    Type : None
    Hidden : False
    Order : 2147483647
    BasePermissions : ViewListItems, AddListItems, Open, ViewPages
    List Role Assignments
    Member : Home Visitors
    RoleDefinitionBindings : {Read, Add Only to list}
    Parent : IT Equipment Request
    ParentSecurableObject : IT Equipment Request
    The user can create a new item, but cannot edit items - not even items he created.

  • Limiting Body size post list in SharePoint 2013 blog site

    Hi,
    I want to fix the length of the body content in the post list in blog site in SharePoint 2013.
    And also i want to set the limit to show number of blog in the home page.
    Please help.
    Thank you!

    Open page in SharePoint Designer.
    When the default.aspx page is opened we can see that the web part is actually a XlstListViewWebPart. Taking a look at the XML Definition we can see that there is a field called RowLimit:
    http://www.sharepointanalysthq.com/2011/02/limiting-the-number-of-blog-posts-displayed-in-sharepoint-2010/

  • SharePoint lists are not showing in SharePoint designer "Lists and Libraries" section

    Hi , 
    I using sharepoint 2010 and sharepoint designer 2010.
    I created a custom list on the sharepoint , and i trying to open the list through designer, but in sharepoint designer under the "Lists and Libraries" section that created custom list is not showing.
    But when i click on "AllFiles-->Lists -->MyCustomlist " (its present in the root folder's "Lists" folder)
    can anyone help on this.
    regards,
    RK

    Hi,
    According to your description, there is a list appears in “All Files” section but not in "Lists and Libraries" section in SharePoint Designer.
    What if you refresh(F5) the SharePoint Designer in the "Lists and Libraries" section? Will the issue list appears?
    If the list still doesn’t show up, please clear the cache of the SharePoint Designer and reconnect your site for a test.
    About how to clear the cache of SharePoint Designer:
    http://www.c-sharpcorner.com/UploadFile/sagarp/how-to-clear-your-sharepoint-designer-20102013-cache/
    Feel free to reply if there any progress.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Sharepoint 2013 SSRS 2012 Integrated Report Level Security

    With SSRS we are able to assign security down to the object level, but I am looking to move to the Sharepoint Integrated Reporting Services and find that you can only do to a library level.  Is this correct or am I missing something.  I have tried
    to find documentation regarding, but nothing is clear as to the abilities.

    Hi sdffgccfg,
    Based on my research, we can still set permissions for report server items on a SharePoint site (Reporting Services in SharePoint Integrated Mode). We can set permissions on report definition (.rdl), model (.smdl), and shared data source (.rsds) files. But
    we cannot combine inherited and managed permissions on the same item.
    To set permissions on a report server item, please refer to the following steps:
    Point to the report, report model, or shared data source file.
    Click the “…”, “…”, and then select the Shared With option on the menu list that appears.
    On the Shared With window, select the corresponding permission.
    The following blog is for your reference:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/02/01/how-to-manage-permissions-for-a-list-item-or-document-in-sharepoint-2013.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Building a GUI in SharePoint 2013

    I’m planning on building some business processes that use SQL as the data source and allow SharePoint 2013 users to interact with the data. I’m not sure how to give the users a GUI inside SharePoint. I can use InfoPath, but that’s more for the data entry/collection
    etc. I can use an Access Web App, but there are too many drawbacks. Can’t trigger workflows, cant access already existing databases, etc. The dashboards, Power View etc. are for reports, not data manipulation.
    What exactly is the preferred method of creating a GUI inside SharePoint 2013 to allow this type of data interaction

    Hi,
    According to your post, my understanding is that you want to create a GUI inside SharePoint 2013 to allow SQL data interaction.
    I recommend that you can create external content type and external list to display the SQL data. For more information:
    How to Create an External List Including a Database from SharePoint Designer 2013 -
    SharePoint 2013
    To update external list with workflow, you can use the SharePoint designer workflow 2010 as the List Workflow action of the SharePoint 2013.
    Here are some similar articles for your reference:
    http://www.c-sharpcorner.com/Blogs/14560/sharepoint-2013-workflow-with-external-list.aspx
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/02/02/it-s-easy-to-configure-an-external-list-with-business-connectivity-services-bcs-in-sharepoint-foundation-2010.aspx
    In addition, you can use app to solve this issue. See this post
    for more details.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Integrating OneNote with Sharepoint 2013 - Custom document template, Change Content type, Checkout settings

    My client is migrating to SharePoint 2013 and the team uses OneNote Task list to track the project checklist. While I am successful extending the document template to support OneNote, still have some mysteries to solve as listed below:
    I am exploring Sharepoint 2013 and have tried to explain my problem clearly. If the information provided below is not clear enoug, let me know.
    1. Client has defined custom content type for all the documents in a library. I noticed OneNote comes with a Content type as "Folder". Is it possible to edit / modify the OneNote metadata to accommodate the predefined content types?
    2. In a library, I would like to defined multiple OneNote templates - Meeting, Task List, etc. I followed this article to create OneNote template for a library. Is is possible to edit the template and have "Meeting template" as default?
    3. A library can have multiple document types - word, excel, presentation, OneNote. In order for OneNote sync to work, below settings are mandatory (correct me if wrong):
            a. Checkout required should be set to "No"
            b. No versioning should be set
    My client's governance rule states "Checkout" is mandatory. How can I have a library to support OneNote with Checkout option enabled.
    Thanks in advance!

    Hi TMUser,
    regarding your questions:
    1. One note is based on folder not content type, so by design it is different items. but i heard you can have a look up for this, you may try to change my onenote notebook folder content type so that it allows for additional metadata columns. this way, the
    onenone notebook can be handled just like other office documents. for more detail you may try from this example: http://www.sharepointcowbell.com/2013/01/onenote-and-metadata-in-sharepointpart.html
    2. for onenote products, you may ask at onenote forum for more detail, http://support.microsoft.com/ask-community/office/onenote-2013/,
    we can help for general discussion regarding this. you may take a look at this article, it mentioned about set template as default: http://blogs.msdn.com/b/onenotetips/archive/2008/05/21/templates-in-onenote.aspx
    3. for this question, you may check this kb, http://support.microsoft.com/kb/2675731/en-us, i
    think it is by design, because onenote and other office are different, onenote is use shared, if we put checked out, then it will be set the limitation to only exclusive user.
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Show List/Libraries with heading dynamically in SharePoint 2013

    Hi,
    I want to show the all the list under List label and all libraries under libraries in quick launch as in SharePoint 2010.
    I want to achieve this in SharePoint 2013. So the list /libraries should dynamically added to the corresponding group.
    Please help how to do this.
    Waiting for your reply.
    Thank you

    Hi Aditi,
    According to your description, my understanding is that you want to show lists/libraries under the Lists/Libraries label in Quick Launch in SharePoint 2013.
    Per my knowledge, there is no OOB way to automatically add the lists/libraries under the Lists/Libraries label in Quick Launch except manually editing the links in the Quick Launch as Sapara suggested.
    If you don’t want to manually add the links, I recommend to use PowerShell to add the links in the Quick Launch.
    Here is a blog about using PowerShell to add and remove items in the Quick Launch menu on a SharePoint 2013 site for you to refer:
    http://matthewyarlett.blogspot.com/2014/05/use-powershell-to-add-and-remove-items.html
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for