Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

set xml file name

Avatar

Level 3

Hello,

Please can you help to set the xml name file sended by mail.

I have a simple form i want to use the content of a input to rename the xml sended.

Is it possible.

Thanks

2 Replies

Avatar

Former Community Member

The xml filename that is used for the attachment is derived from the name of the PDF. You would have to rename the PDF to achieve the name that you want.

Paul

Avatar

Level 3

I know that, but i need to set the xml file name sent by mail with information typed in a text field.

For exemple un have a PDF file named : myPdf.pdf

And each user of this pdf file will type in a text feld his name so the xml file should be named : brain.xml and not myPdf.xml

Thanks