File upload field not working in AEM 6.4.1 | Community
Skip to main content
cquser1
Level 7
March 7, 2019

File upload field not working in AEM 6.4.1

  • March 7, 2019
  • 1 reply
  • 3941 views

AEM version 6.4.1.0

File upload field not working. We need ability to upload file from local system and not DAM.

Tried below steps :

1] http://localhost:4502/mnt/overlay/wcm/core/content/sites/properties.html?item=/content/we-retail/it[/libs/wcm/foundation/components/basicpage/v1/basicpage/tabs/thumbnail]. We-Retail has a tab "Thumbnail", Tried on similar lines but getting error :

07.03.2019 11:30:25.933 *ERROR* [0:0:0:0:0:0:0:1 [1551938425928] POST /content/requests/re3/_jcr_content HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing.

org.apache.sling.api.resource.PersistenceException: Property is protected: jcr:createdBy = admin

and a long stack trace.

2] Tried using fileupload provided in v2 core image component. Not working.

3] Went through the below forum posts

https://forums.adobe.com/thread/2459086

https://forums.adobe.com/thread/2588783

https://stackoverflow.com/questions/54655534/in-aem-6-4-fileupload-coral3-resource-type-is-not-backward-compatible-with-cora

https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/1035

https://aem.adobemarketingclub.com/customize-touch-ui-dialog-for-image-component/

/apps/core/wcm/components/image/v2/image/cq:dialog/content/items/tabs/items/asset/items/columns/items/column/items/file

https://forums.adobe.com/thread/2593760 ---

https://forums.adobe.com/thread/2584649 --------

http://aem-dev.blogspot.com/2016/08/aem-touch-ui-path-browser-with-preview.html

But none of them are working.

Any thoughts/pointers on this will be really helpful.

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

1 reply

cquser1
cquser1Author
Level 7
March 7, 2019

Please ignore the above question. jcr:created property was being explicitly set on page jcr via code  which was causing issues.

cquser1
cquser1Author
Level 7
March 7, 2019

Hi All,

Further requirement on this would be to : create a link to the uploaded file[uploaded from local system, not DAM] in the the page properties dialog, so that on clicking the file uploaded is downloadable.

Any thoughts on how to go about this will be really helpful.

smacdonald2008
Level 10
March 7, 2019

Can you please post a screenshot of exactly what you want to do. Seems like you want a link on page properties dialog that downloads a file.