Thursday, December 3, 2009

Disadvantages in content editor web part in sharepoint

Unfortunately there are several serious issues with Content Editor :

  1. Content Editor Web Part content isn’t versioned. You can create as many versions the web part page as you like, the actual content – which is contained within the Content Editor Web Part – isn’t versioned. This is a wider problem with web parts in general, but especially of note when attempting to provide web content management.
  2. Content Editor Web Part content can’t be searched. Yes, this is as bad as it seems. Add your content to the Content Editor Web Part and it can’t be seen by the WSS Search.

There is another issue with the Content Editor Web Part; whenever you re-open the web part to update content it turns all server-relative URLs into absolute URLs. Therefore if you have your content accessible from different addresses (when you have an extranet and an intranet for example) any linked content will be broken for one of them as soon as anyone updates the content. The only way around this is to edit the HTML directly. Hardly suitable for non-technical users.

Solution

In a nutshell: create a Content Type to contain the web content within the page itself and make use of the superior Telerik RadEditor Lite content editor.

No comments: