Dotnetdreamer's Weblog

SharePoint, Silverlight and Azure

Posts Tagged ‘Content Editor Web Part’

Sharepoint Webparts

Posted by Ramprasad Navaneethakrishnan on May 9, 2009

Web part is what that makes up the web pages in a sharepoint site. A Sharepoint site is nothing but a group of web pages in which each and every web page holds one or more web parts which in itself contains different types of data based on the type of the web part chosen. The following are the out-of-the-box web parts available with MOSS 2007.

  1. Content Editor Web Part
  2. Form Web Part
  3. Image Web Part
  4. List Web Part
  5. Page Viewer Web Part
  6. Site Users Web Part
  7. XML Web Part

Lets see each of these web parts in detail.

  • Content Editor Web Part
    • Content Editor Web Part is used to display data in the form of text, images, table and links. To provide input to this web part, it exposes three properties in its tool pane (A web part’s tool pane can be reached by Site Actions –> Edit Page –>Click Edit in the web part–>Select Modify Shared Web Part ). Those are
      • Source Editor : Data is entered in HTML format. The data can be formatted using HTML tags and it requires author to know the HTML syntax.
      • Rich Text Editor :  Allows to enter information in plain text. It provides tools to insert images, tables and links into the web part.
      • Content Link : This can be used to link this web part to a text file with HTML formatting.
  • Form Web Part
    • Form Web Part needed a separate post and it can be read here.
  • Image Web Part
    • This Web Part is used to add an image to your web part page. The image can be a drawing or a logo or a diagram. The supported image formats are .bmp, .emf, .gif, .jpg, .png
    • The path of the image can be given in the Image Link property in the web parts tool pane
  • Page Viewer Web Part
    • This web part displays the content of any web page that is linked to it. In addition to web pages, it can display the contents of a folder or a file for which the path is provided in the toolpane.
    • There will be three radio buttons in the toolpane for each for Web Page, Folders and Files. The appropriate radio button should be checked and in the Link textbox, the path of the webpage, file or folder should be provided.
  • Site Users Web Part
    • This web part displays the list of users and groups who have access to the Sharepoint site. There are three two filter conditions that can be applied to customize the users / groups being displayed.
      • Number Of Items To Display : Restricts the number of items (users / groups) being displayed in this web part. The value ranges from 1 to 1000.
      • Display Type:
        • Display Users / Groups who have direct permission.
        • Display user’s belonging to this Site’s members group
        • Display users from this group . ( The needed group name can be entered in the text box provided)
  • XML Web Part
    • This web part displays XML formatted data and applied XSL Transformtions prior to the display of the data.
    • XML Editor and XSL editor properties present in the tool pane allows the user to enter the XML data and XSL transformations.
    • XML Link and XSL Link properties present in the tool pane allows the user to link to XML files and XSLT files present anywhere in the connected network.

Hope this is useful.

There is also a post on out-of-the-box site templates in MOSS 2007 here.



Posted in MOSS 2007 | Tagged: , , , , , , , , , | 2 Comments »