Previous Topic: Test the WidgetsNext Topic: Embedding Widgets on Plain HTML Pages


Embedding Widgets in SharePoint

To create and use widgets in Microsoft SharePoint (SharePoint), follow this process:

  1. Review the previous topics in this scenario to understand the following concepts:
  2. Follow these requirements and guidelines as you design your SharePoint pages (except for the Liferay-specific information):
  3. Click My Site, expand the Site Actions drop-down list, and select Edit Page.
  4. Click the Plus icon (Add a Web Part).

    Note: To edit an existing widget, click Modify Shared Web Part in the Edit menu, and skip the next step.

  5. In the Web Page dialog, select the Content Editor Web Part in the miscellaneous section, and click Add.
  6. In the Content Editor Web Part, Follow these steps::
    1. Click the link to Open the tool pane.
    2. On the tool pane, click Source Editor.

      In the Web Page dialog, specify the source code for the widget, as follows:

    3. Click Save.

      The source is rendered in the content editor. For example, if you are calling the Browse widget, the catalog, folder, or service that you specified is rendered in the content editor.

      Note: If you are editing an existing widget, click Exit Edit Mode in ‘Site Actions’ menu and verify that the widget is loaded.

    4. Review the rendered widget, and proceed as follows:
      • To refine the widget, click the Source Editor and adjust the source code.
      • To use the widget as rendered, click Apply and OK.
  7. Test the widgets.