locked
Query about Quick Launch RRS feed

  • Question

  • Hello Friends,

    When we create lists or libraries in SharePoint site then the item automatically gets added in quick launch. Is there a way to disable that option?

    Please note I don't want to disable the entire quick launch.

    Regards,

    Chandra Shekhar

    Friday, August 16, 2013 10:14 AM

Answers

  • hi

    if you create list programmatically, then you can hide it from quick launch using the following code:

    var list = ...;
    list.OnQuickLaunch = false;
    list.Update();
    If list is already created go to List settings > List name, description and navigation and set Display this list on the Quick Launch = No.

    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

    • Marked as answer by Dennis Guo Thursday, August 29, 2013 1:43 PM
    Friday, August 16, 2013 11:32 AM

All replies

  • hi

    if you create list programmatically, then you can hide it from quick launch using the following code:

    var list = ...;
    list.OnQuickLaunch = false;
    list.Update();
    If list is already created go to List settings > List name, description and navigation and set Display this list on the Quick Launch = No.

    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

    • Marked as answer by Dennis Guo Thursday, August 29, 2013 1:43 PM
    Friday, August 16, 2013 11:32 AM
  • Hello,

    Thanks for your reply. I am using OTB functionality so I was wondering if there's any such functionality that hides list/libraries from not displaying it on quick launch.

    Regards,

    Chandra Shekhar

    Friday, August 16, 2013 12:27 PM