Creating a Data List

Once you create a data object, you can create a data list on any page. You create a data list and a set of stacked pages at the same time. NetObjects Fusion 12 automatically includes linked data list icons in the first column in the data list. The data list thus acts as a table of contents—each row contains data for, and is linked to, a single stacked page.

To create a data list:

  1. In Page view, display the page on which you want to place the data list.

  2. Select the Data List tool from the Advanced toolbox and draw a rectangle in the Layout area.

The Data Publishing dialog appears. Select the data object you want to use for this data list.

The fields in the selected data object are listed.

  1. Choose a sort field from the drop-down list. For internal data objects, you can only sort on simple text or image fields.

Records are sorted in ascending order.

  1. To filter the data, click the Set button. You can use simple text fields to filter the data.

The Filter dialog appears.

By default, all available records in the data list and on stacked pages appear. You can create selection criteria that isolate the records you want in your data list.

  1. Enter your selection criteria and click OK.

If you do not use all three lines, choose end from the drop-down list at the end of the last line you use.

  1. In the Data list area of the Data Publishing dialog, enter a name for the data list.

  2. In the Fields list, select fields to include in the data list by clicking the check boxes to the left of the fields.

As a shortcut, you can click the Add All button, which marks all fields for display. Typically, however, you display only a subset of fields in the data list and display all fields on stacked pages.

  1. To link a field to its stacked page, select the field in the Data Publishing dialog and click the Link/Unlink button.

A data list automatically includes a navigation button that links to the record’s stacked page. When you link a field, site visitors can click either the button or the linked field to jump to the record’s stacked page.

  1. To change the order in which fields appear in the data list, click a field and then click the up and down arrow buttons.

Continue to select fields and click the up and down arrow buttons until the list is in the order you want.

  1. Set the Stacked Page options:

The images used for these buttons—SPNavLeft.gif, SPNavRight.gif, and SPNavUp.gif—are in the NetObjects Fusion 12\NetObjects System folder.

 

  1. Click OK.

The data list placeholder appears. Its column heads are the names of the fields you selected for display, and a data list button appears at the left of the first row. NetObjects Fusion 12 populates the data list only when you preview or publish the page. Data never appears in the data list in Page view.

  1. Set the Data List properties. 

Adjust the settings to change the bullet type, background color, border size, spacing of data, and column title display. Drag the column heading borders to adjust column width. You cannot change the font type or color in a data list except by editing the text style. See Working with Text Styles.

When you are satisfied with the appearance of the data list, create a layout for the stacked pages as described in Designing the Stacked Page Layout.