Wednesday 5 March 2014

How to add content-editor-webpar in master page

How to add content-editor-webpar in master page
Open Sharepoint designer.
Open site which whant to add.
Click on Master Pages.
Take backup of your master page.
Click on Master page.
Click on "Edit File"
Mouse click where you want to add web part.
Click on Insert in the ribbon.
Click on Web part.
Search for "Content...
You will get content editor web part.
Add this.
Now Select Content editor web part.
Right click.
Select "Web Part Properties.."
In content editor section...select content link.
Click on icon...
Here you can select existing html or you can create new HTML
I am going to create new html.
Click on Create New document.
provide name of the file.
Click ok.
New html file will be appear in "Content link " Section.
You can open new html file, add some javascript or any data.
Click ok.
Save
You can preview your master page from sharepoint site, updates will be available.