Changing dynamic content – Adobe Dreamweaver CC 2014 v.13 User Manual
Page 589
Changing dynamic content
About dynamic content
Edit dynamic content
Delete dynamic content
Test dynamic content
Let Adobe Contribute users edit dynamic content
Modify recordsets with the Property inspector
Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the options described in this
article in Dreamweaver CC and later. For more information, see
.
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:
Recordset(myRecordset)
If you add another recordset to your page, the Server Behaviors panel lists both recordsets as follows:
Recordset(mySecondRecordset)Recordset(myRecordset)
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
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.
Note: 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.
582