You are here: Edit Mode > Working with the Content > Adding Dynamic Content to a Page

Adding Dynamic Content to a Page

Dynamic content can be added to a page using the Dynamic content button in the toolbar of the Editor. The dynamic content can be retrieved from different fields on a page. For instance the data can come from the "main body" field (the editor area on a page), or from the saved date or the writer fields.

An example of the usage of dynamic content is to display company facts and figures that will be reused on several pages on a website. You may want to relay information about your sales revenue over the past three months.

The dynamic content has often a common area in the structure. Check with your organization about how you are working with dynamic content.

In addition, you can turn your dynamic content to suit a specific visitor group as described in "Working with Visitor Groups and Personalized Content".

Adding Dynamic Content from a Page Property

Add dynamic content from a Page Property as follows:

  1. Open the page that you want to contain the dynamic content and click the Dynamic content toolbar button in the Editor.
  2. In the Dynamic content window, select the plug-in that you want to use as a base for your dynamic content. The Page property plug-in is included in a standard EPiServer CMS installation and is used in this example.
  3. In Page to insert content from, select the page in the tree structure from which you want to display the data.
  4. In Property to insert content from, select the property on the page that you want to display data from. In this example we will fetch data from the Main body property of a page.
  5. In Personalization settings, you can click + to select the visitor group you want to have access to the dynamic content. Optional.

  6. Click OK. The dynamic content is displayed as a box in the Editor. When this property is updated, all dynamic instances of the property in the content will be automatically updated.

  7. By clicking the Preview button in the dynamic content box, you can see how the content will look on your page.

Editing Dynamic Content on a Page

When you have opened the page containing the dynamic content box, you can edit it in the following ways:

Through the Dynamic Content Box
Through the Insert Dynamic Content Button

You can cut, copy and paste dynamic content boxes in the Editor area, just as you can with any other objects.

Deleting Dynamic Content from a Page

Select the dynamic content box you want to delete and click Delete.

 


Last updated: 2011-03-25 | Copyright © EPiServer AB