...
- On the General tab, leave the Base Part field blank and leave the Only Derived box unchecked.
- Select Script from the Type drop-down list.
- Enter the script to define the contents of the Message Part on the HTML and/or Text tabs.
- If the Message System supports HTML, then enter the appropriate text on the HTML tab and optionally on the Text tab (if you want to support a fall-back option to a plain text message for recipients whose email program does not support HTML). If the Message System does not support HTML, then specify the appropriate text on the Text tab.
- See the Data Table message part, which is included with the standard Aptify installation, for a sample script.
- Use the Scripting icons to assist you with writing the script. See "Scripts Service" on page 688 for more information.
- See Scripting Response Object for information on the intrinsic Response object, which is available for Messaging scripts.
- Aptify's Messaging Engine supports the ability to pass in record data to a message's HTML code using Aptify's mark-up convention (the <<Field Name>> format).
- In addition, the Messaging Engine can use C formatting tag to display numeric fields with a currency symbol and a d tag to display date/time fields in the date only (short date) format. For example, you can format money fields with its proper currency symbol using this convention: <<Money Field:C>>. Other formatting options appear below. Note that a value after a format character specifies the number of significant digits or decimal places to display. (For example, the format string, <<Number Field:F2>>, displays a fixed-point number with 2 decimal places.)
- C: Displays numeric values in currency format.
- D: Displays numeric values in decimal format.
- E: Displays numeric values in scientific (exponential) format.
- F: Displays numeric values in fixed format.
- G: Displays numeric values in general format.
- N: Displays numeric values in number format.
- X: Displays numeric values in hexadecimal format. This is case sensitive. The hexadecimal characters are displayed in the case specified.
- See "Order Confirmation" for information on the sample Message Template that illustrates these features.
...