Adding an output element
You can add a new output elementIn a database-driven content block, an element that displays the contents of a single database field or, alternatively, the value of a parameter. to any kind of block except chart blocks. An output element can display either the contents of a database field or the value of a parameter (but not both).
An output element in an input block can only display the value of a parameter, not the contents of a database field.
To add an output element that displays the contents of a database field
Adding an output element for a database field is a two-step process. First, you need to add the database field that the element will be associated with to the list of database fields used by the block. (If the relevant database field is already in the list, you can skip this step.) Then, you insert the new output element into the block.
- On the Develop menu, go to Database, click Field,and then click Block Properties.
- Click the Database Fields tab.
- In the list of database tables and fields on the left, select the field that the new output element will be linked to, click Add, and then click OK.
- In the table that contains the database-driven content block, insert a new row or column to contain the new output element and (optionally) its label.
- Right-click inside the cell you added for the new element, point to Database, and then click Insert Output Element.
- Click the … button next to the Database field box, select the database field you added in step 3 from the menu, and then click OK.
- If you added a cell for the new element’s label, click inside it and type the label.
To add an output element that displays the value of a parameter
- In the table that contains the database-driven content block, insert a new row or column to contain the new output element and (optionally) its label.
- Right-click inside the cell you added for the new element, point to Database, and then click Insert Output Element.
- Click the … button next to the Database field box, select the desired parameter and then click OK. (The menu will only list parameters that have been registered. For information about registering parameters, see “Registering a parameter“.)
- If you added a cell for the new element’s label, click inside it and type the label.
Related topics
Adding a hyperlink output element
Changing a block element’s associated database field