AEM 62 - Touch UI - Images in Multifield - Doesn't work | Community
Skip to main content
Level 2
Aug 21, 2017 10:12 PM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Aug 22, 2017 10:55 AM UTC

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

5 replies

Level 2
Sep 22, 2017 6:53 PM UTC

@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?

Translate
kautuk_sahni
Employee
Aug 24, 2017 1:33 PM UTC

smacdonald2008 did you see this?

~kautuk

Translate
Kautuk Sahni
Level 2
Aug 23, 2017 5:59 PM UTC

Any updates  kautuksahni or others?

Translate
Level 2
Aug 22, 2017 3:33 PM UTC

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

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Aug 22, 2017 10:55 AM UTC

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

Translate
Kautuk Sahni