Example Output of an RTF Template Fragment Script

You can create an RTF Template Fragment to return data from a model Script into an RTF Report.  The script must return one or more rows of data in the following 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 an RTF 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