How to get the file name if I upload the PDF file using "xtype:fileuploadfield"? | Community
Skip to main content
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 1 reply
  • 996 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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