Email templates using Metadata
Posted: Wed May 27, 2015 7:43 pm
I've been trying for quite some time now to figure out how to send custom email templates from Switch and have come to a stand still. There are many great posts on here but I haven't been able to find a resolution.
I have had success on my html "Fixed file" sending out information such as Job Size and Flow Name but whenever I add in a variable from the Metadata collected during file submission (such as user name or phone number, etc) the entire email comes back with the coding but not the data. Also, ONLY using the collected Metadata does not work.
Example 1: Job Size and Flow name only
Job size: 69369
Flow name: Connector - Starting Point
Example 2: adding the variable phone number to the above
Job size: [Job.ByteCount]
Flow name: [Switch.FlowName]
Phone: [Metadata.Text:Path="/field-list/field[4]/value",Dataset="Submit",Model="XML"]
Extra Info:
Graphics (images) work in either of the above scenarios.
I'm using Dreamweaver as my html editor/creator.
The data paths work perfectly in the "Built-in" html template within Switch
Would anybody have any thoughts/ideas to get me headed in the right direction?
Thanks in advance,
Corey
I have had success on my html "Fixed file" sending out information such as Job Size and Flow Name but whenever I add in a variable from the Metadata collected during file submission (such as user name or phone number, etc) the entire email comes back with the coding but not the data. Also, ONLY using the collected Metadata does not work.
Example 1: Job Size and Flow name only
Job size: 69369
Flow name: Connector - Starting Point
Example 2: adding the variable phone number to the above
Job size: [Job.ByteCount]
Flow name: [Switch.FlowName]
Phone: [Metadata.Text:Path="/field-list/field[4]/value",Dataset="Submit",Model="XML"]
Extra Info:
Graphics (images) work in either of the above scenarios.
I'm using Dreamweaver as my html editor/creator.
The data paths work perfectly in the "Built-in" html template within Switch
Would anybody have any thoughts/ideas to get me headed in the right direction?
Thanks in advance,
Corey