The File Chosen to upload should be retrieved to that Particular Page. | Community
Skip to main content
Level 3
October 16, 2015
Solved

The File Chosen to upload should be retrieved to that Particular Page.

  • October 16, 2015
  • 2 replies
  • 1060 views

Hi

As Iam Working on to retrieve the page properties and its values on the page.

Its a Basic form page.The page contains labels,texts,and textareas and file chosen to upload option.When the file that i had chosen is getting uploaded.

In the similar way  Iam able retrieve the text and textarea values on the page but not able to retrieve the file which i had chosen.

Can some one please let me know what is the appropriate way to retrieve the file which i had selected.

Thanks,

Kumar

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

You can use standard web components to let a user select a file to update. For example, you can place a button on a page that lets a user browse to the file to upload. You could also define a JQuery plug-ins to define a drop zone so a user can drag a file into the dropzone on the page and its uploaded to AEM. There are different ways. 

See this community article that walks you through How To upload a file to AEM - is uses a button to browse to a file:

http://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

You can use standard web components to let a user select a file to update. For example, you can place a button on a page that lets a user browse to the file to upload. You could also define a JQuery plug-ins to define a drop zone so a user can drag a file into the dropzone on the page and its uploaded to AEM. There are different ways. 

See this community article that walks you through How To upload a file to AEM - is uses a button to browse to a file:

http://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html

Level 3
October 16, 2015

Hi

As Iam able to upload the file In this component I am having edit functionality when i click on edit button the uploaded file needs to be retrieved as well as the page data should be retrieved.

Thanks,

Kumar