Expand my Community achievements bar.

Email literal value and xpath

Avatar

Former Community Member
When sending out an email I want to set a literal value and xpath in a few of the fields like the cc address, subject and message.



In the cc I need a literal value and a xpath value, can I do this?

Example: friend@dest.com; {$ /process_data/form/... $}

I am using the Foundation >SendEmailService >Send service is this right?
3 Replies

Avatar

Level 10
You can do this. Use the 'template' option instead of 'literal' or 'xPath'.



The 'template' option will allow you to put text with xPath expressions.



Jasmin

Avatar

Former Community Member
Did I have the right format for the xpath items?

{$ /process_data/form/... $}



For the Message Type can I select (literal value) and HTML just like the >Foundation >Email >Send With Document service?



Thanks for your help Jasmin!

Avatar

Level 10
Yes, the format looks fine. You should be able to use something similar to :



Dear Mr {$ /process_data/@lastName $} please .....



You should be able to select HTML as the format type.



Jasmin