Skip to main content

Posts

Showing posts from January, 2017

One of the properties of the Web Part has an incorrect format

I was trying to insert a Content Editor Web Part (CEWP) to a Master Page. I used the recommended route of using Design Manager. Let me share the steps if you are new to this: 1. Navigate to Site Settings 2. Under Look and Feel, click on Design Manager 3. Click on Edit Master Pages and click on perticular Master Page which you would like to edit (before editing, ensure you have a copy of the file for backup) 4. Click on Snippets 5. In the Snippet Gallery, insert CEWP, and set the web part properties 6. Click on Update button 7. Copy the HTML snippet generated and paste it in the Master page (.html file) 8. Upload the [[Master Page]].html file and publish With this approach, you can attach any custom HTML/JavaScript which you would want to execute in all the pages in a site. After publishing the master page, when I refreshed the page, I got the below error: One of the properties of the Web Part has an incorrect format. Microsoft SharePoint Foundation cannot deserialize the