-
Notifications
You must be signed in to change notification settings - Fork 361
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
[FEATURE] - Allow enabling/disabling comments on individual SharePoint lists #2913
Comments
All yours @ganesh-sanap 👍🏻 Thanks for contributing! |
Thank you @veronicageek. I am trying to setup development environment by following Setting up your environment but I am facing below error while running these commands:
Can you please help me with this? |
@ganesh-sanap - This page is for the old repo (now archived). |
Thanks for your willingness to contribute @ganesh-sanap! Have you read up on the steps in this article to get started: I realize there might be some outdated parts in it, but it should give the idea. Feel free to flag parts you get stuck with or need updating. From a high level, what you would need to do is fork off from this repository by clicking on Fork on the very top right on this page or use this direct link. Create your own fork through the page that will show, if you don't have one yet. If you do have a fork already, go into it and ensure its up to date with our dev branch. It will show once you are in your fork in the status bar near to the top: Use the "Sync fork" button to sync your fork if its showing you're X comments behind. After your fork is in sync, click on the green "Code" button and copy the URL that it shows pointing to your fork. Open up a PowerShell/Command console on your machine and if you haven't already, but it seems you have from your screenshot, download and install the Git tools applicable for your working environment from: https://git-scm.com/downloads . Just do a next-next-finish installation disregarding the countless options it offers in the process. Ensure you open a new console after installing it as otherwise the new path variables will not be in place yet. In the console go to a new folder where you want to download to the code to and execute:
This will download the code into a subfolder named after your fork. You can start coding from there using Visual Studio Code or the full Visual Studio, whichever you prefer. I use Visual Studio Code myself. Be sure to create a new branch for the changes you do. Don't do them in your dev branch. Once done with your changes, commit them, push the new branch to your repository, go to GitHub and it will show a bar asking you if you want to create a PR based from your new branch. Click on the button, go through the steps and you should be done. |
I've taken the time to update the documentation around contributing to outline step by step what you will need to do. Its still under review at the moment, but you can already access and use it here: |
@KoenZomers Thank you very much for this guide. I will follow the steps mentioned in the contribution guidance. |
Raised new PR #2939. Many thanks @KoenZomers for detailed contribution guide. Please help with updating changelogs/docs if I missed anything! |
Looks great @ganesh-sanap ! Thanks for your contribution. Keep them coming! :) |
Closing this, since its merged ! |
Is your feature request related to a problem? Please describe
Currently we cannot enable/disable comments on individual SharePoint lists using PnP PowerShell.
Describe the solution you'd like
Can we enhance
Set-PnPList
cmdlet to support additional parameter (say-DisableCommenting
) which will allow enabling/disabling comments on individual SharePoint lists?I would like to contribute to this library for above enhancement request with the help from repository maintainers/existing contributors. Thank you!
Additional context
Currently this can be done via SharePoint UI:
Reference: Enable/Disable the comments for a SharePoint Online/Microsoft List
The text was updated successfully, but these errors were encountered: