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
BedrockMission!

Learn More

View all

Sign in to view all badges

Images are not retaining in dialog when i have 2 html5smartimge in same dialog(i want to hav different name for 'fileReferenceParameter' in both image nodes)

Avatar

Avatar
Validate 1
Level 2
sd55
Level 2

Likes

3 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
sd55
Level 2

Likes

3 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
sd55
Level 2

15-10-2015

i have following dialog structure for two image nodes, i can able to author 2 images for the first time in dialog with all crop features,when i edit it for second time,dialog has no previous authored images and all editing features are disabled, i can overcome from this just by adding '.image/fileReference' and '.image2/fileReference' for the fileReferenceParameter, but i can not do this as my framework does not read the values for child nodes in content tree,i should have different 'fileReferenceParameter' in both image nodes, please help me if you know solution for this(any method other than having ''.image/fileReference'' as names smiley)

 

 

<items jcr:primaryType="cq:WidgetCollection">

    <block1image
                jcr:primaryType="cq:Widget"
                allowUpload="{Boolean}false"
                cropParameter="./block1imageCrop"
                ddGroups="[media]"
                fileNameParameter="./block1fileName"
                fileReferenceParameter="./block1fileReference"
                id="img1"
                mapParameter="./block1imageMap"
                name="./block1file"
                requestSuffix=".img.png"
                rotateParameter="./block1imageRotate"
                title="Block1 Image"
                xtype="html5smartimage">
            </block1image>

<block2image
                jcr:primaryType="cq:Widget"
                allowUpload="{Boolean}false"
                cropParameter="./block2imageCrop"
                ddGroups="[media]"
                fileNameParameter="./block2fileName"
                fileReferenceParameter="./block2fileReference"
                id="img2"
                mapParameter="./block2imageMap"
                name="./block2file"
                requestSuffix=".img.png"
                rotateParameter="./block2imageRotate"
                title="Block2 Image"
                xtype="html5smartimage">
            </block2image>

</items>

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

158 likes

Total Posts

755 posts

Correct Reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

158 likes

Total Posts

755 posts

Correct Reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ratna_Kumar
MVP

15-10-2015

Hi,

Please check this article containing 2 or more images: https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

Thanks,
Ratna Kumar.

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 2
sd55
Level 2

Likes

3 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
sd55
Level 2

Likes

3 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
sd55
Level 2

15-10-2015

thanks for the reply, i had gone through that url, but i want to have different fileRefencenames in both image widgets, any solutions with that?

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

15-10-2015

Please go through this link for having 2 or more images: http://labs.6dglobal.com/blog/2012-09-06/building-a-dialogue-to-have-2-or-more-images/

Let me know if you need any help