/lists/ in path name for some document libraries, unable to recreate


  • Hi,

    I have inherited some O365 webs that have /lists/ in the path name for the document libraries.

    These libraries were created by a sandbox solution that has been disabled.

    I am trying to understand why the document libraries with the document content type would have lists in the path.

    If I create new libraries the path is sitename/library name. This is an issue as the path including /lists/ has been hardcoded into other parts of the overall solution (outside SharePoint) so I need to create new libraries with the /lists path.

    Interestingly the app icon for these libraries is not the document library one but the data connection library Icon. I have created a data connection library though and it is also missing /lists/ in the path.

    Any ideas?

    Many thanks


    Friday, December 2, 2016 2:53 PM

All replies

  • Hi Laura,

    By default, the list in SharePoint will be created under Lists folder path, but the library will not.

    If you want to create a library under Lists folder path, a probably way, using SharePoint Patterns and Practices (PnP).

    Office 365 development and SharePoint patterns and practices solution guidance:

    A library of PowerShell commands that act towards SharePoint Online.

    This reference to a third party library of PowerShell commands. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before using it.

    Best regards,

    Linda Zhang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Tuesday, December 6, 2016 7:59 AM