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

SOLVED

How to get the file name if I upload the PDF file using "xtype:fileuploadfield"?

Avatar

Level 2

How to get the file name if I upload the PDF file using "xtype:fileuploadfield", I am not able to get the PDF filename, it was stored as a binary data,. Is there any way to get the uploaded pdf filename?

1 Accepted Solution

Avatar

Correct answer by
Level 10

If you upload the file to a custom sling servet in AEM, you can use Java app logic to get the file name. For information about using an AEM Sling Servet to handle the uploaded file - including how to get the file name -- see:

http://helpx.adobe.com/experience-manager/using/post_files.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

If you upload the file to a custom sling servet in AEM, you can use Java app logic to get the file name. For information about using an AEM Sling Servet to handle the uploaded file - including how to get the file name -- see:

http://helpx.adobe.com/experience-manager/using/post_files.html