How to change dynamic content in Dreamweaver


The user interface has been simplified in Dreamweaver and later. As a result, you may not find some of the options described in this article in Dreamweaver and later. For more information, see this article.

About dynamic content

You can change the dynamic content on your page by editing the server behavior that provides the content. For example, you can edit a recordset server behavior to provide more records to your page.

Dynamic content on a page is listed in the Server Behaviors panel. For example, if you add a recordset to your page, the Server Behaviors panel lists it as follows:


If you add another recordset to your page, the Server Behaviors panel lists both recordsets as follows:


Edit dynamic content

  1. Open the Server Behaviors panel (Window > Server Behaviors).
  2. Click the Plus (+) button to display the server behaviors, and double-click the server behavior in the panel.

    The dialog box that you used to define the original data source appears.

  3. Make your changes in the dialog box, and click OK.

Delete dynamic content

  1. After adding dynamic content to a page, delete it in one the following ways:
    • Select the dynamic content on the page, and press Delete.

    • Select the dynamic content in the Server Behaviors panel, and click the Minus (-) button.


    This operation removes the server-side script in the page that retrieves the dynamic content from the database. It does not delete the data in the database.

Test dynamic content

You can preview and edit dynamic content using Live view.

While dynamic content is displayed, you can perform the following tasks:

  • Adjust the page’s layout using the page-design tools

  • Add, edit, or delete dynamic content

  • Add, edit, or delete server behaviors

  1. Click the Live view button to display dynamic content.
  2. Make the necessary changes to the page. You’ll need to toggle between Live view and Design or Code view to make changes and see how they take effect.

Let Adobe Contribute users edit dynamic content

When a Contribute user edits a page containing dynamic content or invisible elements (such as scripts and comments), Contribute displays the dynamic content and invisible elements as yellow markers. By default, Contribute users can’t select or delete these markers.

If you want Contribute users to be able to select and delete dynamic content and other invisible elements from a page, you can change permission-group settings to allow them to do so; Contribute users normally can never edit dynamic content, even when you allow them to select it.


Using some server technologies, you can display static text using a server tag or function. To allow Contribute users to edit the static text in a dynamic page that uses such a server technology, place the static text outside of the server tags. For more information, see Administering Adobe Contribute.

  1. Select Site > Administer Contribute Site.
  2. If certain required options for Contribute compatibility aren’t enabled, a dialog box appears, asking if you want to enable those options. Click OK to enable those options and Contribute compatibility.
  3. If prompted, enter the administrator password, and then click OK.

    The Administer Website dialog box appears.

  4. In the Users And Roles category, select a role, and then click the Edit Role Settings button.
  5. Select the Editing category, and deselect the option to protect scripts and forms.
  6. Click OK to close the Edit Settings dialog box.
  7. Click Close to close the Administer Website dialog box.

Modify recordsets with the Property inspector

Use the Property inspector is to modify the selected recordset. The available options vary depending on the server model.

  1. Open the Property inspector (Window > Properties) and then select the recordset in the Server Behaviors panel (Window > Server Behavior).
  2. Edit any of the options. When you select a new option in the inspector, Dreamweaver updates the page.