Wednesday 3 September 2014

#Script Editor Web-Part in #SharePoint 2013:


Script editor web-part is nothing but the content editor web-part of SharePoint 2010 or Moss 2007. If you are not aware of CEWP then here is the description for you..

If you want to add any custom javascript code or Html or Jquery code to your pages, you should use this web-part. Here are the steps to achieve this...

How to add script-editor web-part to your site or pages:
  • Log into SharePoint 2013 and click the Page tab from the Ribbon. From here, click on the Setting icon on the upper right and select Edit Page.

  • On the Edit page, select the Insert Web Part tab from the Ribbon. From the Categories menu, select Media and Content and then Script Editor from the Parts menu.

  • Click on the Add button at the bottom of the page to install the Web Part
  • Once the Web Part has been successfully installed on your page, you will see a hyperlink button under the Script Editor labeled EDIT SNIPPET. Click the EDIT SNIPPET link to insert HTML/Script code

  • After you have inputted the appropriate code in the Embed dialog box, click Insert to save the HTML/Script
  • Click the Save button on the right corner of your site.

Hope this helps you guys...

Hide Time from events in Calendar list or webpart Use below code in content edit webpart or by editing list page in SharePoint designer ...