fileuploadfield | Community
Skip to main content
narayanank84409
New Participant
October 16, 2015
Solved

fileuploadfield

  • October 16, 2015
  • 3 replies
  • 931 views

I created component for image upload to DAM[img]Screen Shot 2015-07-21 at 12.07.21 AM.png[/img], i used fileuploadfield xtype for upload option,

I can select images and other files, but am getting value as fakepath.

How i can fix this and any idea how i can retrive value from the dialog for fileuploadfield.

Please help me.

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

See this article on how to write server code to store an uploaded asset to a path in the DAM. Your server code should be using AssetManager - as discussed in this article: 

Uploading files to Adobe Experience Manager DAM using AssetManager API

3 replies

WhoaShekhar
New Participant
October 16, 2015
narayanank84409
New Participant
October 16, 2015

Shekhar_Dhiman wrote...

Hi There,

Thanks for reaching out to Adobe Community.

Please go through the below docs and see if they are of any help:

https://helpx.adobe.com/experience-manager/kb/creating-cq-widget-supports-image.html

https://helpx.adobe.com/experience-manager/using/creating-custom-xtype.html

https://helpx.adobe.com/experience-manager/using/creating-gallery-3d.html

Thanks!

 

Thanks Shekhar

Our idea, is We need to select path using pathfield component, based on selection path i need to store image in that path.

I created component using fileuploadfield, but am not sure how i can retrive values .

and it's showing fakepath in Fileuploadfield dialog.

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

See this article on how to write server code to store an uploaded asset to a path in the DAM. Your server code should be using AssetManager - as discussed in this article: 

Uploading files to Adobe Experience Manager DAM using AssetManager API