Email Subject Line Configuration
The subject line is coded into the HTML template being used. The line that is used for setting the subject has a subject ID.
For example:
<div id="subject"><span id="defaultSubject">Approval Requested</span> for Product : <span id="SubHeaderProductID">#filler#</span> - <span id="SubHeaderProductExtension">#filler#</span></div>
The system fills in data from the source XML using the Xpath corresponding to the ID specified in the HTML template. The system builds the subject line left to right until it hits the first ID resolving to a NULL, or the end of the 'div' tag. The 'div' tag is removed from the body of the Email template.
The following is the list of reserved IDs used by the system:
- 'subject': This ID is used by the system to identify the section to be used for building the subject line.
- 'defaultSubject': This ID represents the static portion of the subject line that always appears in the subject.
- 'ManagedWorkItemMsg': This ID is used to place the work item delegation or reassignment messages.
- 'commentData': This ID is used to place the work item comments within a given event.Note:
- The predefined XMLc IDs do not work on the input XML document.
- Use of AssociatedProduct IDs, add data, and links works for all related records.
- Avoid 'Coding repeating elements' when using AssociatedProduct IDs.