Multitifield with image in aem 6.4 doesn't store the image values in multiifield items

velmuruganv38

04-04-2019

Hi, I have created multifield with image in aem 6.4.  The image resource type is "cq/gui/components/authoring/dialog/fileupload".  When i author the content, other properties are getting stored in multifield item nodes, the image is stored under parent node of the item nodes.

Below is the dialog structure,

Screen Shot 2019-04-04 at 12.51.30 PM.png

Below is my page content structure,

Screen Shot 2019-04-04 at 12.59.27 PM.png

i need to store that image under the item0 node.

I have tried with coral 2 and coral 3 fileupload for image, these things not at all working for me.

Coral 2 fileupload also fine if anyone suggest the structure.

Any suggestion on this would be more helpful.

Thanks,

Velu

Accepted Solutions (1)

Accepted Solutions (1)

Vish_dhaliwal

Employee

05-04-2019

Hello Everyone,

"cq/gui/components/authoring/dialog/fileupload" inside the Multifield is not currently supported. 

There is an existing Jira, CQ-4241149, for "cq/gui/components/authoring/dialog/fileupload", which is still in progress.

Regards,

Vishu

Answers (15)

Answers (15)

velmuruganv38

04-04-2019

Thanks @smacdonald2008..

Seems the same coral ui3 issue persist from 6.3.1 as per the thread Coral Fileupload not working when placed inside Coral multi-field

If you fix this issue then that would be helpful for many people.  Please let us know if you have any update on this.

Thanks again,

Velu

velmuruganv38

30-10-2019

Hi All,

With service pack 6.4.6 images getting stored properly.  But multifield delete functionality is not working,  it doesn't removing the node properly.  Find below image for reference,

Screen Shot 2019-10-30 at 4.11.07 PM.png

Here i have deleted the first element of multifield and submitted the dialog.  Instead of removing item0 and renaming the other nodes, it just rearranged the nodes and moved the form fields to item0 except image field values.

It happens in AEM from 6.4.4 version.

Is this AEM bug?  Any idea on this.

Thanks,

Velmurugan

Shashi_Mulugu

MVP

05-04-2019

Correct.

smacdonald2008​, This issue is for many of us and also hindering the process of integrating with Scene7 P2P where we can Drag and Drop Image from Content Finder.

Prince_Shivhare

04-04-2019

Have you tried adding another field in multifield. because in my case, when I was using fileupload so it was creating a problem for authors. so I used pathbrowser then.

when you drag n drop the image in first multifield and then in another multifield you did the same with different image, and again when you reopen the dialog after authoring then same image which was in first multifield appears in all.

velmuruganv38

04-04-2019

Hi Arun,

Thanks for reply!

Yeah I'm checking on the correct path only, the fileReference property is inside the image node because i have given the fileReferenceParamater value as "./image/fileReference". 

So the property created under the image node, it will not create the node with name(fileReferenceParamater) given.  Actually i have drag and drop the image from dam, didn't upload it.

Above is my cq:dialog xml. You can use it to reproduce the issue.  The image node should create inside the every item if we configure.

Thanks,

Velu

Arun_Patidar

MVP

04-04-2019

Hi,

Are you sure, your are checking at right place. Because your image node in dialog structure doesn't match node created in content path.

E.g.

the node is created with name 'image' but it should be similar to fileReferenceParamter

The file upload in disabled but you are uploading file, right?

Could you please share your component dialog package?