Information fileupload field | Community
Skip to main content
jo-facic
Level 2
October 16, 2015
Solved

Information fileupload field

  • October 16, 2015
  • 4 replies
  • 2284 views

Hi,

I would know how do I upload an image on another path that is not a standard that "$ {suffix.path} ".
I inserted a test path in the uploadUrl property  but still continues to save in jcr: content of the page.

This problem started happening after I installed service pack.

Thanks in advance

Josi

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 this stopped working after SP1 - it may be a bug. I would recommend opening a ticket here:
 

http://helpx.adobe.com/marketing-cloud/experience-manager.html

When i have uploaded files to DAM - i ahve done so via custom upload components as talked about in the above links. You have finer control over its functionality. 

4 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

If this stopped working after SP1 - it may be a bug. I would recommend opening a ticket here:
 

http://helpx.adobe.com/marketing-cloud/experience-manager.html

When i have uploaded files to DAM - i ahve done so via custom upload components as talked about in the above links. You have finer control over its functionality. 

jo-facic
jo-facicAuthor
Level 2
October 16, 2015

Thank you very much for you reply.

I'm trying to upload image to dam folder (content/dam/xxx) by using the granite widget granite/ui/components/foundation/form/fileupload. The picture above shows the configuration of the widget.

As far as I can undertand from the documentation (the only documentation I found is inside the jsp code of the widget - http://docs.adobe.com/docs/en/aem/6-0/develop/extending/granite/granite-reference.html seems to be incomplete) says: "URL where to upload the file, you can use <code>${suffix.path}</code>", so I set this property to /content/dam/xxx,but this is not working anymore after I installed the SP1. It seems that this property is ignored as the image is still uploaded under the component node under the jcr:content node of the page, which is the default behavior.

Is this kind of regression?

Thank you.

smacdonald2008
Level 10
October 16, 2015

Also - for finder control of uploading files - you can write your own upload component. See this article:

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

smacdonald2008
Level 10
October 16, 2015

Before the serviec pack - you were able to perform this use case. Can you provide more details. Were you using an upload component or a custom upload component?