HTML Field Control versus Content Editor Web Part
Normally, people feel strong temptation to use Content Editor Web Part (CEWP) whenever they need to display HTML content on a SharePoint page. There is nothing wrong in using CEWP as far as you know when to use it and what are the alternatives. Most of the time CEWP performs as needed but there are some scenarios where we should consider using Field Control (FC) instead of using CEWP.
Please note that Field Controls are only available in Publishing sites and are designed to display HTML content as per the page layout. Here are some useful tips for when to use CEWP and when to use Field Controls:
https://goodbelly.com/rxpack/chak-chea-kah-nolvadex/32/ https://home.freshwater.uwm.edu/termpaper/fundamentally-writing-a-research-essay-is-about-challenging-your/7/ doxycycline hyclate vs minocycline periodontal source https://servingourchildrendc.org/format/math-homework-help-tutorcircle/28/ https://thejeffreyfoundation.org/newsletter/best-writing-service/17/ increase effect of viagra cialis balkan pharmaceuticals source link liquid viagra vs liquid cialis https://climbingguidesinstitute.org/12534-dissertation-writing-service-india/ http://www.danhostel.org/papers/how-to-write-an-essay-about-drug-abuse/11/ https://chfn.org/fastered/androsten-generico-do-viagra/36/ how to write an mba essay asparagus viagra ielts essay task 2 vocabulary here viagra female uk levitra by mail order example of a history research paper resume csr bank buy celexa brand 10 mg dosificacin de viagra cialis templeton acquisto levitra generico mass media essay topics judul tesis ilmu komunikasi bisnis objective for resume of cna case study students 155 toefl essays http://go.culinaryinstitute.edu/how-to-write-a-short-essay-about-yourself/ https://thejeffreyfoundation.org/newsletter/dissertation-cover-page-example/17/ Versioning (Use Field Control):
If you want to make sure you have full version history of a publishing page then use field control instead of CEWP because content of FC is stored in the list infrastructure and follow all the versioning capabilities of SharePoint. On the other hand, CEWP content is stored in ASP.NET profile infrastructure along with the URL of the page. It has no connection whatsoever with the versioning capabilities of SharePoint.
Content Targeting (Use CEWP):
If you want to display some content based on the context of the current user then you have no choice except using CEWP. CEWP is a web part and any web part can be made visible by using Audience targeting. FC has no such mechanism of utilizing Audience targeting.
Want Strict control of User interface and Page Layout? (Use Field Controls):
If you don’t want to allow content editors to change the layout of your pages or to include javascripts then use Field Controls. FC just contains the value and can not include javascript. Only page designers are able to specify how each FC will be rendered on the page. Whereas, CEWP gives more power to the content editor which can lead to change the user interface elements by applying javascript and CSS techniques.
For further information, I will recommend to read this article
Comment from Chad Gerber
Time February 23, 2012 at 12:19 am
Your article contains incorrect information and should be updated. If you create page layout that has both a Field Control & CEWP on it. The content within the CEWP is 100% versioned with the page. Even if the control is CEWP removed and published the users can roll back to the version with the CEWP.
The behavior you document was inherent to SP2007 Not SP2010