Cannot delete a document library

Log in to the SharePoint Server and execute the Powershell script below.

$web = Get-SPWeb("http://YourSite")

$list = $web.Lists["Documents"]

$list.AllowDeletion = $true

$list.Update()

You can now go to the Document Library and try deleting it or you can just run the line below.
$list.Delete()
Advertisements

Ghantt View Default Zoon

 

Add a Media ContentScript Editor Web Part and add the following code.

src=http://code.jquery.com/jquery-1.11.1.min.js” type=“text/javascript”>
type=“text/javascript”>
    $(document).ready(function () {
        var count = 0;
        setInterval(function () {
            if (count 2) {
                for (var i = 0; i 2; i++) {
                    if (WebPartWPQ2_JSGridController != null) {
                        WebPartWPQ2_JSGridController.ZoomOutGantt();
                        count++;
                    }
                }
            }

        }, 100);
    });