Monday, December 2, 2013

How do you know if the SharePoint page is in Edit Mode from JavaScript?

Is there a way to find out if a SharePoint page is in Edit Mode from JavaScript?
Yes there is.

Look for the MSOLayout_InDesignMode attribute in the javascript.

Monday, March 4, 2013

Solution> Restore-SPSite : The site collection could not be restored.


The next problem i have got when i tried to replace the backup from a SharePoint Site.

The problem i'v got is "Restore-SPSite : The site collection could not be restored." what you can see in my powershell dump below.

The problem is that in the contentdatabase on the url a site is registered.
You read allot of person the describe to restore a database backup to fix this problem. This is not necessary.

There is a easier way.

Popular Posts