Expand my Community achievements bar.

SOLVED

AEM Touch UI out of the box multifield

Avatar

Level 2

I have created component with out of the box multifield in touch ui. Value is persisting in content node but dialog failed to retrieve it.

Any pointers will be appreciated. 

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"

    jcr:primaryType="nt:unstructured"

    jcr:title="Multifield Test"

    sling:resourceType="cq/gui/components/authoring/dialog">

    <content

        jcr:primaryType="nt:unstructured"

        sling:resourceType="granite/ui/components/foundation/container">

        <layout

            jcr:primaryType="nt:unstructured"

            sling:resourceType="granite/ui/components/foundation/layouts/tabs"

            type="nav"/>

        <items jcr:primaryType="nt:unstructured">

            <multifieldtab

                jcr:primaryType="nt:unstructured"

                jcr:title="multifield Info"

                sling:resourceType="granite/ui/components/foundation/container">

                <layout

                    jcr:primaryType="nt:unstructured"

                    sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"/>

                <items jcr:primaryType="nt:unstructured">

                    <columns

                        jcr:primaryType="nt:unstructured"

                        sling:resourceType="granite/ui/components/foundation/container">

                        <items jcr:primaryType="nt:unstructured">

                            <column-info

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/foundation/form/multifield"

                                composite="{Boolean}true"

                                fieldDescription="Click '+' to add a new page"

                                fieldLabel="Column Details">

                                <field

                                    jcr:primaryType="nt:unstructured"

                                    sling:resourceType="granite/ui/components/foundation/form/fieldset"

                                    multifield-nested="{Boolean}true"

                                    name="./columnInfo">

                                    <layout

                                        jcr:primaryType="nt:unstructured"

                                        sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"

                                        method="absolute"/>

                                    <items jcr:primaryType="nt:unstructured">

                                        <column

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/foundation/container">

                                            <items jcr:primaryType="nt:unstructured">

                                                <tile-title

                                                    jcr:primaryType="nt:unstructured"

                                                    sling:resourceType="granite/ui/components/foundation/form/textfield"

                                                    fieldLabel="Tile title"

                                                    name="./tileTitle"

                                                    pattern="^(0|[1-9][0-9]*)$"/>

                                                <Copy_x0020_of_x0020_tile-title

                                                    jcr:primaryType="nt:unstructured"

                                                    sling:resourceType="granite/ui/components/foundation/form/textfield"

                                                    fieldLabel="Tile title"

                                                    name="./tileTitle2"

                                                    pattern="^(0|[1-9][0-9]*)$"/>

                                            </items>

                                        </column>

                                    </items>

                                </field>

                            </column-info>

                            <tile-title

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/foundation/form/textfield"

                                fieldLabel="Tile title"

                                name="./tileTitle1"

                                pattern="/^(0|[1-9][0-9]*)$"/>

                        </items>

                    </columns>

                </items>

            </multifieldtab>

        </items>

    </content>

</jcr:root>

1 Accepted Solution

Avatar

Correct answer by
Level 7

Which version of AEM are you using, If you are using aem 6.3, can you try to install service pack 1. I think this issue is resolved over there.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

Which version of AEM are you using, If you are using aem 6.3, can you try to install service pack 1. I think this issue is resolved over there.

Avatar

Level 2

Yes I started with 6.3 , sure I will install service pack 1.

Thanks for quick help!