Using Dynamic Data in Document Engine Documents

Overview

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:

Tabs available on the Dynamic Content Window

Use this tab... To...
Data Display the transaction XML files as a tree
Content Library

Save blocks of text for re-use in other places in the document.

This feature is discussed in the topic Content Library.

Complex Conditionals

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 the topic Complex Conditionals.

Administration

ClosedAccessing the Dynamic Content Dialog Box

  1. Click Admin to go to the Admin Home Page.

  2. Click Documents under Commerce and Documents.

    The Document Engine Management Center appears.

  1. 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.

  1. Double-click an item in the Flow tab to edit it.

    The item opens in editing mode.

  1. Click Dynamic Data on either the Product List or Dynamic toolbar.

    The Dynamic Content dialog box appears.

    Dynamic Content dialog


ClosedFiltering and Inserting Dynamic Data into the Document Editor

  1. 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.

    Search Dynamic Content

    Select filtered content

  1. To insert data, do one of the following:
    • Drag and drop the attribute

    Dragging the content into the Editor highlights the background color of the specific node.

    • Double-click the attribute

    This drops the desired content on the node that has been selected.

    • Click Insert Into Editor.
  2. 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 the Delete and Edit buttons:

    • Delete  Delete icon
    • Edit  Edit icon


ClosedImage Menus in Dynamic Content

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.

Image menus


Notes

If content that is stored in a secure File Manager folder is referenced, the path must be updated.
The Image Menu section for printing simple multi-select menus and arrays will print the values in a row.

You will need to create a custom XSL or use a table to loop through your menus to achieve better formatting.

Related Topics

Related Topics Link IconSee Also