locked
Folder Creation. RRS feed

  • Question

  • HI ,

    how to create new folder in document library after i hide  top ribbon .



    Wednesday, July 1, 2015 2:37 PM

Answers

  • Hi Ninja1234,

    You can do the same principle for document library, for example you can do the following for the shared documents library:

    https://site.sharepoint.com/sites/mysite/Shared%20Documents/forms/Upload.aspx?RootFolder=Shared%20Documents&Type=1

    This will give you the URL for the new folder creation page in the library. For an end user perspective, you can just add an anchor element to your page in HTML and add the URL as its link like this:

    <a href="https://site.sharepoint.com/sites/mysite/Shared%20Documents/forms/Upload.aspx?RootFolder=Shared%20Documents&Type=1">Add new folder</a>

    End user is not aware of the URL.. but you are.


    Mohamed Derhalli

    SharePoint Consultant

    Blog: SharePoint Thoughts    Twitter:    LinkedIn:   


    • Edited by Mohamed Derhalli Friday, July 3, 2015 7:30 AM
    • Proposed as answer by Sara Fan Wednesday, July 8, 2015 2:16 PM
    • Marked as answer by Sara Fan Friday, July 10, 2015 12:58 AM
    Friday, July 3, 2015 7:30 AM

All replies

  • Hi Ninja- simple answer: Don't! (JK- I hate folders in SP). Probably the easiest way would be to upload one.

    cameron rautmann

    Wednesday, July 1, 2015 8:30 PM
  • You can go to it from the URL itself, it's the same url for the newform but by appending the type to it. So for example if your list URL is:

    https://derhallisite.sharepoint.com/sites/mywebsite/Lists/mylist

    Then your new folder creation page will be:

    https://derhallisite.sharepoint.com/sites/mywebsite/Lists/mylist/NewForm.aspx?RootFolder=%2Fsites%2Fmywebsite%2FLists%2Fmylist&Type=1

    If you navigate to newform.aspx page, it will go to new item creation form, if you append Type=1 at the end, that will lead you to new folder creation.


    Mohamed Derhalli

    SharePoint Consultant

    Blog: SharePoint Thoughts    Twitter:    LinkedIn:   

    • Marked as answer by Ninja1234 Friday, July 3, 2015 6:03 AM
    • Unmarked as answer by Ninja1234 Friday, July 3, 2015 6:03 AM
    Wednesday, July 1, 2015 8:45 PM
  • Thank You for your advice .

    but i need for document library and i am searching the solution from  end user prospect who is not aware of any URL for creating folder .

    Friday, July 3, 2015 5:53 AM
  • Hi Ninja1234,

    You can do the same principle for document library, for example you can do the following for the shared documents library:

    https://site.sharepoint.com/sites/mysite/Shared%20Documents/forms/Upload.aspx?RootFolder=Shared%20Documents&Type=1

    This will give you the URL for the new folder creation page in the library. For an end user perspective, you can just add an anchor element to your page in HTML and add the URL as its link like this:

    <a href="https://site.sharepoint.com/sites/mysite/Shared%20Documents/forms/Upload.aspx?RootFolder=Shared%20Documents&Type=1">Add new folder</a>

    End user is not aware of the URL.. but you are.


    Mohamed Derhalli

    SharePoint Consultant

    Blog: SharePoint Thoughts    Twitter:    LinkedIn:   


    • Edited by Mohamed Derhalli Friday, July 3, 2015 7:30 AM
    • Proposed as answer by Sara Fan Wednesday, July 8, 2015 2:16 PM
    • Marked as answer by Sara Fan Friday, July 10, 2015 12:58 AM
    Friday, July 3, 2015 7:30 AM