hi all,
I Am using client object model code to create a SharePoint List.List creation is working fine but list is not adding to quick launch.
ClientContext clientContext = Getauthenticatedcontext(SiteUrl);
if (clientContext != null)
{
Web web = clientContext.Web;
ListCreationInformation myListCreationInformation = new ListCreationInformation();
myListCreationInformation.Title = ListName;
myListCreationInformation.TemplateType = ListType;
myListCreationInformation.Description = ListDescription;
myListCreationInformation.QuickLaunchOption = QuickLaunchOptions.On;
List list = web.Lists.Add(myListCreationInformation);
clientContext.ExecuteQuery();
}
Can anyone please suggest a way to enable QuickLaunch option using ClientObjectModel code.
Thanks in advance
Regards,
Vysa