I have an SP library that allows the users to store files and create folders with the edit permission role.
When the library reaches the 30k number of items, I would like to hide the new & upload button from the ribbon and show a very simple alert for the user “You cannot create or upload any files/folders you have exceeded the limit, please create a new library”.
In that way I obliged the users to create a new library to avoid the limitations of SharePoint.
What will be the solution to achieve the above requirements?
Could you please provide an example?
Any help is highly appreciated.
Thank you.