Expand my Community achievements bar.

SOLVED

AEM Form attachment - change file name in rule editor

Avatar

Level 2

Hi Community,

 

I am wondering if AEM Form rule editor is able to change a file name uploaded to the Form (whether instantly or after submitting the form).

 

My AEM Form has multiple attachment, so I cannot use Power Automate to change the attachment name without also changing other documents'.

I also need a prefix for specific attachment, so the RPA can identify different attachments. For example, "ev_id".

Brian_Chau_CLP_0-1709544430229.png

I asked ChatGPT but no luck.

Brian_Chau_CLP_1-1709544622639.png

Submit action is send email. FYI

Brian_Chau_CLP_2-1709544676225.png

 

Huge thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Here is the article 

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/zipping-form-attachments/intr...

 

you will need to make changes to the code to rename the attachments as per your requirements 

View solution in original post

2 Replies

Avatar

Employee Advisor

You will have to use custom code in your workflow to do that

searxh for emailing attachments in AEM forms

Avatar

Correct answer by
Employee Advisor

Here is the article 

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/zipping-form-attachments/intr...

 

you will need to make changes to the code to rename the attachments as per your requirements