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
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.
Also, please install ACS commons to make sure that works!!
Thanks,
Ratna Kumar.
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?
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.
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
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.
smacdonald2008
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
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.
Reference: Creating an AEM HTML Template Language 6.3 component that uses a Multifield
http://www.aemcq5tutorials.com/tutorials/touchui-multifield-component-using-htl/
manisha594391
manisha594391
19-02-2018
Hi,
The bundle acs commons is in active state.
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=""""
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>
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.