New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QuickLaunchOption = QuickLaunchOptions.Off and list.OnQuickLaunch = false; not working #1488
Comments
@MrTantum - Thanks for reporting the issue. When I quickly looked at the code, this behavior seems to be expected. Anything above SP 2013 will keep it open and below that will respect the params which you are passing in. I am still looking at it and trying to get in touch with the dev who coded it. I will get back to you as and when I receive an update. Thanks for waiting! |
No answer yet therefore I had to find another solution. The following script will delete the new entry from recent after creation of a list:
|
This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open the issue. |
Category
Expected or Desired Behavior
When creating a list using Client Object Model the parameter QuickLaunchOption = QuickLaunchOptions.Off should not add the new list to the "Recent" section of the quicklaunch as mentioned in the documentation:
Furthermore the parameter list.OnQuickLaunch = false; should hide a list from the quicklaunch as mentioned in the documentation:
The problem exists in SharePoint Online and SharePoint 2016.
Observed Behavior
None of these settings hides the list from the quicklaunch in "recent" section.
Steps to Reproduce
Create a new console application and add the Microsoft.SharePoint.Client and Microsoft.SharePoint.Client.Runtime dlls.
Add the following code to the console application and start debugging:
The text was updated successfully, but these errors were encountered: