In AEM 6.4, fileupload coral 3 resource-type (/libs/granite/ui/components/coral/foundation/form/fileupload) does not have the property “fileReference” which used to store the location of file in DAM (https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/granite-ui...). When I looked at coral2 resource type (/libs/granite/ui/components/foundation/form/fileupload), I could find that property. So, while migrating to 6.4 with coral3, image component stopped working, because backend code is looking for “fileReference" property which is not found now. How to resolve this issue?
I looked at the OOTB AEM core image component at this location (/apps/core/wcm/components/image/v1/image) and got surprised that its using “cq/gui/components/authoring/dialog/fileupload”, instead of coral-3 resource type (/libs/granite/ui/components/coral/foundation/form/fileupload). All other nodes in this component are using coral-3 resource-type, but not the fileupload. Is there any reason for that?
What is the recommended approach now -
Views
Replies
Total Likes
that is a good question for the team. I will pass this question to them.
Views
Replies
Total Likes
I passed this question to the team - the reply:
Hey
1. Yes I see the core image component was not upgraded to use coral 3 file upload - /apps/core/wcm/components/image/v2/image/cq:dialog/content/items/tabs/items/asset/items/columns/items/column/items/file
Raise a core components support ticket so it gets fixed.
They can use coral 2 file upload, its not deprecated afaik
Views
Replies
Total Likes
As the reply suggests - you found a bug. Please open a support ticket so it gets fixed.
Views
Replies
Total Likes
smacdonald2008 - How about the backward compatibility in AEM 6.4? fileupload coral 3 resource-type (/libs/granite/ui/components/coral/foundation/form/fileupload) does not have the property “fileReference” which used to store the location of file in DAM. How to handle this because the old code looks for that property?
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi karanmahi,
By any chance did you get this to work. Have a similar requirement.
Any thoughts/reference will be really helpful.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies