Example Output of a Template Fragment Script

You can create a Template Fragment to return data from a Model Script into a document report. The Script must return one or more rows of data in this XML format:

<EADATA>

     <Dataset_0>

          <Data>

               <Row>

                    <DateGen>09/01/2013</DateGen>

                    <TimeGen>9:31 </TimeGen>

                    <Author>John</Author>

                    <EA_REPOS>C:\Users\John\Documents\Sample Model.eap</EA_REPOS>

               </Row>

          </Data>

     </Dataset_0>

</EADATA>

Each of these data fields in the XML (such as 'DateGen', 'TimeGen') refers to fields that can be included in the 'Custom' section of a Template Fragment.

Notes

  • If the text is a formatted Note, add formatted="1" to the field row; for example:
          <Author formatted="1"><i>John</i></Author>

Learn more