Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Email literal value and xpath


Not applicable
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:; {$ /process_data/form/... $}

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


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.



Not applicable
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!


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.