Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have created a Site Definition using Visual Studio and also created a List Definition from which I use the List Instance in a web-scoped feature which activates upon creation of a subweb using the Site Definition.

Everything works perfectly and I've also managed to create my own left navigation using the XML <NavBars> tags in my Site Definition.

My challenge here is that when the list gets created via my feature, SharePoint tends to add Libraries -> Listname in the QuickLaunch. What I want to do is to disable this behaviour from happening.

Is it possible through the Site Definition or do I have to do this through code?

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

There's a property for the list instance called something like ShowOnQuickLaunch, and you want to set that to false.

share|improve this answer
    
Thank you. I actually just noticed it. Have an upvote anyhow –  Daniel Ziga Oct 11 '11 at 12:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.