Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM 62 - Touch UI - Images in Multifield - Doesn't work

Avatar

Level 2

up vote0down votefavorite

In AEM 6.2, I have a requirement to have an image field inside Multifield. I am using the resource type as "granite/ui/components/foundation/form/fileupload". when I use this inside multi field, it doesn't work.

In multi field, data is stored in form of JSON

{“text1":"/content/dam/baby-smiling-320w.jpg","alt”:”Test image","headerText":"","header":"h3","Style":"”,”test style":"","Color":"blue","bodyText”:”This is test component"}.

So how would that new "fileReference" node would be created for multifield JSON?

I have gone through few links but none of them works.

http://experience-aem.blogspot.com/2016/06/aem-62-touch-ui-composite-image-multifield.html

1 Accepted Solution

Avatar

Correct answer by
Administrator

I have tested checked Experiencing Adobe Experience Manager - Day CQ: AEM 62 - Touch UI Composite Image Multifield on AEM 6.2, it was working charm for me.

Can you directly upload the package provided on that page? What is the error coming up?

Few discussion on similar topic:-

Issue with Multifield Image in Touch UI (AEM 6.2)

AEM 6.3 Touch ui image multifield

~kautuk



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Correct answer by
Administrator

I have tested checked Experiencing Adobe Experience Manager - Day CQ: AEM 62 - Touch UI Composite Image Multifield on AEM 6.2, it was working charm for me.

Can you directly upload the package provided on that page? What is the error coming up?

Few discussion on similar topic:-

Issue with Multifield Image in Touch UI (AEM 6.2)

AEM 6.3 Touch ui image multifield

~kautuk



Kautuk Sahni

Avatar

Level 2

Hi kautuksahni,

I saw your post earlier but the things is in your scenario, multifield items are created as separate node items. But in our scenario. multifield items are stored in form of JSON as mentioned in the description of the issue on the top. So, when multifield are stored as json, how would this work?

{“text1":"/content/dam/baby-smiling-320w.jpg","alt”:”Test image","headerText":"","header":"h3","Style":"”,”test style":"","Color":"blue","bodyText”:”This is test component"}.

Thanks

Avatar

Administrator

smacdonald2008 did you see this?

~kautuk



Kautuk Sahni

Avatar

Level 2

@kautuk - i tried this too..but not working. Problem is - In multi field, data is stored in form of JSON

{“text1":"/content/dam/baby-smiling-320w.jpg","alt”:”Test image","headerText":"","header":"h3","Style":"”,”test style":"","Color":"blue","bodyText”:”This is test component"}.

So how would that new "fileReference" node would be created for multifield JSON?