Highlighted

Issue with Nested multifield using coral UI multifield

Avatar

Avatar

prajwalreddy

Avatar

prajwalreddy

prajwalreddy

11-04-2018

I have created a nested multifield using coral UI like below

myinput

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

        - composite = true

        + field

          - sling:resourceType = "granite/ui/components/coral/foundation/container"

          - name = "./addresses"

          + items

            + nestedmultifield

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

              - composite =true

              + field

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

                - name = "./items"

            + street1

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

              - name = "street1"

I was able to save the data to the node and read it without any problems.However, When i configure the values in the dialog for the first time and save it and come back again to add an additional multifield when i click on ADD on the first multifield. It opens up the second multifield instead of the first one.

Do i need to have any additional configuration for it?

Replies

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

11-04-2018

Here is the example Coral multi-field :- Creating a Granite/Coral 6.3 Multifield HTL component for Adobe Experience Manager

Here is the example Granite Multi-field :- Creating an AEM HTML Template Language 6.3 component that uses a Multifield

Use packages provided.

-Kautuk

Highlighted

Avatar

Avatar

prajwalreddy

Avatar

prajwalreddy

prajwalreddy

11-04-2018

Hi Kautuksahni,

Problem is when we do a nested multifield not when we have a single multifield.

Multifield1

     + text

     + multifield2

          +text

          +text

With the above structure when we open the already configured dialog and try to add an item in the multifield1 it opens the multifield2.

Let me know if the issue is still not clear.

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

11-04-2018

Here is a related doc - see if you can follow same steps for granite/coral MF - Create Nested MultiField Component in AEM 6.3

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

12-04-2018

There is solution for Nested Multi field:- Nested multifield in AEM 6.3 + sightly

Highlighted

Avatar

Avatar

prajwalreddy

Avatar

prajwalreddy

prajwalreddy

15-04-2018

This doesn't work. What ever the add field we click it opens up the outer multifield only.

Highlighted

Avatar

Avatar

DhirajAg

Avatar

DhirajAg

DhirajAg

01-06-2018

I am facing the same issue for nested multifields using coral multifield. Is there a fix for this?

Highlighted

Avatar

Avatar

arpitas

Avatar

arpitas

arpitas

06-09-2018

I have same issue. Any solution?

Highlighted

Avatar

Avatar

rachelb88688093

Avatar

rachelb88688093

rachelb88688093

13-12-2018

Having the same issue. Anyone find a fix?

Update from Adobe:

"Nested multifields aren't supported in 6.3. They are only supported in AEM 6.4 and would be supported in AEM 6.5 as well.

If you cannot upgrade to 6.4 instead then please consider trying the ACS commons solution here:

https://adobe-consulting-services.github.io/acs-aem-commons/features/ui-widgets/multifield-extension...

That page notes that you should use coral 3 components on 6.3+ but it should say 6.4+."

Highlighted

Avatar

Avatar

alvarof55440963

Avatar

alvarof55440963

alvarof55440963

18-01-2019

Can someone confirm that there is no way to have a coral nested multifield on AEM 6.3?

Thanks