Sample XML Template for Body HTML

The prepareBodyHTML method in emxSubscriptionUtil expects an xmlString as input. You can use this code as a template to construct your own XML input.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="emxCreatePage.xsl" type="text/xsl"?>
<aef:mxRoot xmlns:aef="http://www.matrixone.com/aef">
  <aef:headerData>
     <aef:header>SD 39404 moved to verification: IPGear: Shadow (SD 39401): Improve 
error handling in restore server</aef:header>
     <aef:creatorText>SD was moved to verification by <a href="../common/
emxTree.jsp?objectId=54911.58640.61052.39527">Michael Brusser</a> </aef:creatorText>
  </aef:headerData>
  <aef:bodyData>
     <aef:sections>
          <aef:section>
               <aef:sectionHeader>Object Attachments</aef:sectionHeader>
               <aef:fields>
                  <aef:field>
                     <aef:label>Project</aef:label>
                     <aef:value>IP Gear</aef:value>
                  </aef:field>
               </aef:fields>
          </aef:section>
          <aef:section>
               <aef:sectionHeader>Changed Field(s)</aef:sectionHeader>
               <aef:fields>
                  <aef:field>
                     <aef:label>Fixed Release</aef:label>
                     <aef:value>2.1p5</aef:value>
                     <aef:oldValue>*BLANK*</aef:oldValue>
                  </aef:field>
                  <aef:field>
                     <aef:label>State</aef:label>
                     <aef:value>verification</aef:value>
                     <aef:oldValue>open</aef:oldValue>
                  </aef:field>
                  <aef:field>
                     <aef:label>Supporting Data</aef:label>
                     <aef:value>test_notes.txt text/plain</aef:value>
                     <aef:oldValue>*BLANK*</aef:oldValue>
                  </aef:field>
               </aef:fields>
          </aef:section>
          <aef:section>
               <aef:sectionHeader>Appended Field(s)</aef:sectionHeader>
               <aef:fields>
                  <aef:field>
                     <aef:label>Note Text</aef:label>
                     <aef:value>Added test-notes, moving to verification. Checking 
in: restoreserver - New version: 1.12.1.4.2.3.1.33.1.1 
                     Appended by Michael Brusser (michael) on 2006-03-23 
10:18:58-0500:
                     </aef:value>
                  </aef:field>
               </aef:fields>
          </aef:section>
     </aef:sections>
  </aef:bodyData>
  <aef:footerData>
     <aef:dataLines>
          <aef:dataLine>Reply to this email to append directly to the note.</
aef:dataLine>
          <aef:dataLine>Click here to <a href="../common/
emxTree.jsp?objectId=54911.58640.61052.39127">View</a> the note.
</aef:dataLine>
     </aef:dataLines>
     <aef:signature>
          Email Notification from Synchronicity event trigger. (SyncDefect/39404)
     </aef:signature>
  </aef:footerData>
</aef:mxRoot>

If the event is recursible but the subscription is not recursive, then the same expression is evaluated.

If the event is recursible and the subscription is recursive then the system gets all the parent objects and evaluates the above expresssion on all the parent objects to generate the consolidated Dynamic To List.