Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

File upload field not working in AEM 6.4.1

cquser1
Level 8
Level 8

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[.... 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-backw...

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.

4 Replies
cquser1
Level 8
Level 8

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

cquser1
Level 8
Level 8

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
Level 10

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.

sepandey
Level 1
Level 1

How did you resolve the 500 error? I'm getting the same issue while uploading image from page properties.