Monday, November 8, 2010

Creating Content Editor Web part

You can use the Content Editor Web Part to add formatted text, tables, hyperlinks, and images to a Web Part Page.

· The Content Editor Web Part is intended for adding HTML content to a Web Part Page, which may include hyperlinks. However, this Web Part is not designed to connect to a Web site. If you need to connect a Web Part to a Web site, consider using the Page Viewer Web Part.
· The Content Editor Web Part does not accept the HTML FORM element. If you need to add a Web Part that uses the FORM element, consider using the Page Viewer Web Part or the Form Web Part.



Ways you can use the Content Editor Web Part
You can use the Content Editor Web Part to add:
· An introductory, formatted paragraph to a page.
· A table of instructions to explain a chart on your page, the data that is used in the chart, and how the chart was created.
· A set of hyperlinks to more information.


Add content to the Content Editor Web Part

· Rich Text Editor You can use the Rich Text Editor to type formatted content automatically without prior knowledge of HTML syntax. Click the buttons on the Standard and Formatting toolbars at the top of the window to enter and format the content. Click Help on the Standard toolbar to display a summary of the tasks that you can perform and their corresponding buttons.
· Source Editor You can use the Source Editor to enter or modify HTML source code. The Source Editor is a plain text editor and is intended for users who are familiar with HTML syntax.
· Content Link Instead of editing content, you can link to existing content by entering a hyperlink to a text file that contains HTML source code. The two valid hyperlink protocols that you can use are:
Hypertext Transfer Protocol (http://)
Hypertext Transfer Protocol with privacy, which uses Secure Sockets Layer (SSL) encryption (https://)
You can use an absolute URL or a relative URL. However, you cannot use a file path.

If you enter a URL into the Content Editor Web Part as a relative link, the link converts to an absolute URL when the entry is saved. This automatic conversion can be an issue if you are deploying content from a staging environment to production, where absolute URLs reference the original server's name. To address this automatic conversion issue, you will need to edit the Content Editor Web Part on the production server and update the URLs manually

Common properties of Web Parts
All Web Parts share a common set of properties that control their appearance, layout, and advanced characteristics.
To see the advanced section in the tool pane, you must have appropriate permission.
· For a specific Web Part, a Web Part developer may have chosen not to display one or more of these common properties or may have chosen to create and display additional properties that are not listed below in the Appearance, Layout, and Advanced sections of the tool pane.
· Some permission and property settings may disable or hide Web Part properties.

No comments:


A sales engineer is someone who promise you a bridge, even when there's no river.