Highlighted

AEM 6.2 | Touch UI Multifield Component

Avatar

Avatar

manisha594391

Avatar

manisha594391

manisha594391

19-02-2018

Hi All,

For touch ui dialog with multifield, values are not getting saved in dialog, although the same get saved in crx.

Thanks,

Manisha

Replies

Highlighted

Avatar

Avatar

Ratna_Kumar

MVP

Avatar

Ratna_Kumar

MVP

Ratna_Kumar
MVP

19-02-2018

Hi Manisha,

Please check this HELPX community article for Multifield in AEM 6.2 Touch UI.

Adobe Experience Manager Help | Creating an AEM 6.2 HTML Template Language component that uses a Mul...

Also, please install ACS commons to make sure that works!!

Thanks,

Ratna Kumar.

Highlighted

Avatar

Avatar

manisha594391

Avatar

manisha594391

manisha594391

19-02-2018

Which version of acs commons is required?

can I directly install the package, or have to deploy via maven dependency?

Highlighted

Avatar

Avatar

Ratna_Kumar

MVP

Avatar

Ratna_Kumar

MVP

Ratna_Kumar
MVP

19-02-2018

Hi Manisha,

You can download the latest ACS Commons package which is located in this URL: Adobe AEM Commons - In this page - click on "Download the AEM package".

You can directly install the package in package manager and not to deploy via maven dependency.

Thanks,

Ratna Kumar.

Highlighted

Avatar

Avatar

manisha594391

Avatar

manisha594391

manisha594391

19-02-2018

I tried installing this version

acs-aem-commons-content-3.14.8. from https://github.com/Adobe-Consulting-Services/acs-aem-commons/releases

But still it did not work

Do I need to install some other version or do i need to restrt the instance

ACS AEM Commons 3.14.8

Highlighted

Avatar

Avatar

Ratna_Kumar

MVP

Avatar

Ratna_Kumar

MVP

Ratna_Kumar
MVP

19-02-2018

Are you following the HELPX article which I have mentioned in previous comment? Adobe Experience Manager Help | Creating an AEM 6.2 HTML Template Language component that uses a Mul...

Also, please clear the cache to reflect the changes.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

19-02-2018

The ACS-Commons is shown in this 6.3 article - which will still work on 6.2 -- Creating an AEM HTML Template Language 6.3 component that uses a Multifield

Highlighted

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

19-02-2018

Hi Manisha,

Make a check on the below points to see if your multifield is able to hold values in the dialog:

-  ACS Commons bundle is active in your instance.

- fieldset(granite/ui/components/foundation/form/fieldset) node under multifield(granite/ui/components/foundation/form/multifield) node has property "acs-commons-nested" set to blank as follows.

acs-commons-muti.png

Reference: Creating an AEM HTML Template Language 6.3 component that uses a Multifield

http://www.aemcq5tutorials.com/tutorials/touchui-multifield-component-using-htl/

Highlighted

Avatar

Avatar

manisha594391

Avatar

manisha594391

manisha594391

19-02-2018

Hi,

The bundle acs commons is in active state.

1423030_pastedImage_0.png

I too have added the property suggested.But still the value is not persisted in dialog

<usersubmenu

                jcr:primaryType="nt:unstructured"

                jcr:title="User Submenu"

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

                <layout

                    jcr:primaryType="nt:unstructured"

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

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

                    <tab

                        jcr:primaryType="nt:unstructured"

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

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

                            <usersubmenudetails

                                jcr:primaryType="nt:unstructured"

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

                                class="full-width"

                                fieldDescription="Click 'Add field' to add a new User Submenu title and links"

                                fieldLabel="User Submenu Items">

                                <field

                                    jcr:primaryType="nt:unstructured"

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

                                    acs-commons-nested="&quot;&quot;"

                                    name="./myUserSubmenu">

                                    <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">

                                                <title

                                                    jcr:primaryType="nt:unstructured"

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

                                                    fieldDescription="Enter User Submenu title"

                                                    fieldLabel="User Submenu Title"

                                                    name="./title"/>

                                                <subtitle

                                                    jcr:primaryType="nt:unstructured"

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

                                                    fieldDescription="Enter User Submenu subtitle"

                                                    fieldLabel="User Submenu SubTitle"

                                                    name="./subtitle"/>

                                            </items>

                                        </column>

                                    </items>

                                </field>

                            </usersubmenudetails>

Highlighted

Avatar

Avatar

Ratna_Kumar

MVP

Avatar

Ratna_Kumar

MVP

Ratna_Kumar
MVP

19-02-2018

Hi Manisha,

There might be the issue with the local instance.

I would suggest deploy both the packages i.e., content package and ACS commons paclage which is mentioned in the article on fresh local instance and try it.

Thanks,

Ratna Kumar.