You can apply properties to elements through script expressions
so that the property values change based on the output data contained
in them. This task provides general instructions for applying a background
color using a script.
Procedure
- From the Palette view, select an element and drag it into
the template content editor, such as a Text element.
- Drag an attribute from the data source schema to an element.
- Select the element.
- In the Properties view, select a property that allows a
script, such as Text background color for a
text element.
- Click the ellipsis.
- Select the Script expression tab.
- Enter a script.
- Click OK.
- Generate the output to test your changes.