Return to main navigation Page
Dynamic data is a way to use variable content in your Document Engine documents. Dynamic means that the data is characterized by continuous change.
For example, you may want a field in your document that shows the discount being given for a particular quote. Since this number changes from quote to quote, use dynamic data. The correct discount percentage--the one associated with each quote--will appear in the document output.
Tabs available on the Dynamic Content Window:
|Use this tab...||To...|
|Data||Display the transaction XML files as a tree|
Save blocks of text for re-use in other places in the document.
This feature is discussed in Content Library.
Save and use complex condition statements with multiple if...else clauses inline, within a document, without using custom XSL snippets.
This feature is discussed in Complex Conditionals.
Accessing the Dynamic Content Dialog Box
Click Admin to go to the Admin Home Page.
Click Documents under Commerce and Documents.
The Document Engine Management Center appears.
Click the name of an existing document, or click the pencil icon for a document and then click Open Document Engine.
The Document Engine appears.
Double-click an item in the Flow tab to edit it.
The item opens in editing mode.
Click Dynamic Data on either the Product List or Dynamic toolbar.
The Dynamic Content dialog box appears.
Filtering and Inserting Dynamic Data into the Document Editor
In the Dynamic Content dialog box, on the Data tab, use the Search field to filter the displayed data. As you type, the listed items changes to reflect the entry in the Search field. In the example below, the first screen shot shows no filtering. The second screen shot shows filtering as
currency is typed into the Search: field.
Dragging the content into the Editor highlights the background color of the specific node.
This drops the desired content on the node that has been selected.
If the cursor location is invalid, an error message appears. Click OK and select another location.
The inserted data text is highlighted in yellow and contains two action buttons next to it:
Image Menus in Dynamic Data
In the Data tab, some items have two tags: Value and Image. In your printed document, you can display the image, the text value, or both.
Adding images and their menu values to the Document Engine
Choose Model Line Items from the Loop Over drop-down. Optional: Sort and set filters.
Place your information within a table so that the text value and its corresponding image line up.
If the parent node of an image menu is inserted into the document, only the text value will be printed. Images are displayed only when the image-specific tag is inserted into the document.
The following screen shots shows a complete loop definition with text values and images. The text values are in the first column and the corresponding images are in the second column.
The following screen shot shows the output from the dynamic data shown in the previous screen shot.