Highlighted

Email literal value and xpath

Avatar

Guest

04-08-2008

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?

Replies

Highlighted

Jasmin_Charbonn

05-08-2008

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
Highlighted

Avatar

Guest

05-08-2008

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!
Highlighted

Jasmin_Charbonn

05-08-2008

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