Salesforce

Template File Tags (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Template File Tags (Magic xpa 4.x)

HTML tags are used to define data elements that are matched with and replaced by the appropriate merge tags in the associated HTML template. You can open the Tags Table by double clicking the ellipse button next to the Tags table property in the Merge property sheet.

When the Form Output operation is selected in runtime, the tags and displayed values from the variable/expression and picture are sent to the merge mechanism. If the merge mechanism cannot find the tags of the displayed values in the template, it will disregard the tag and its value. If the tag is not embedded in a repeat area it will replace its value with the tag. If a value is sent more than once to a tag that is not embedded into a repeat area, then the second value is not used.

For tags that are embedded, each Form Output operation will duplicate the contents of the repeat area and replace tags with values.

For tags that are at the head of an IF block (part of the MGIF tag), the value of the tag will be regarded as a logical value, which will specify if the IF block will be copied to the output, or the ELSE block (if one exists). An IF block may be inside a repeat area. This means that there are multiple values of this tag, and for each ‘TRUE’LOG the IF block will be duplicated.

When a non-logical value is sent by a Form Output operation into a tag that “belongs” to an MGIF tag, the value will be regarded as ‘TRUE’LOG.

All trailing blanks of data strings sent as output to the merge mechanism are trimmed.

Reference
Attachment 
Attachment