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

Complex nested multifield not allowing to add more items

Avatar

Avatar
Boost 5
Level 2
Kiranchonkar
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Give Back 3
Give Back
Boost 1
View profile

Avatar
Boost 5
Level 2
Kiranchonkar
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Give Back 3
Give Back
Boost 1
View profile
Kiranchonkar
Level 2

03-05-2021

Hello,

 

I am using aem 6.5

I have developed a complex nested multifield dialog for one component

It looks like:.

List:

     Item0: 

        Content:

              Item0:

                   Buttons

                      Item 0,item1

             Item1

                   Buttons

                      Item 0,item1

             Item2

                   Buttons

                      Item 0,item1

         Item 1,item2 item3, item4

And so on

List is having around 4 child items 

But then I see dialog box now, it just shows first 3 items of list and not beyond that even if it  has data.

I am able to add from backend but can't see anything in ui.

I am using coral 3 

Is there any restriction on nested multifield?

Anyone can reply?

 

Dialog box Touch UI

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

613 likes

Total Posts

591 posts

Correct Reply

231 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

613 likes

Total Posts

591 posts

Correct Reply

231 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

03-05-2021

@Kiranchonkar, can you show us a code example? Find my example below where I have a multifield with 2 configurable granite UI components as child properties. You can add more granite UI component:

 

<navigationLinksMultifield
    granite:class="pir-foundation-granite-ui-multi-field-validation-max-size"
    jcr:primaryType="nt:unstructured"
    sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
    composite="{Boolean}true"
    fieldLabel="Navigation Links"
    name="./navigationLinks">
    <field
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/coral/foundation/container"
        name="./navLinks">
        <items jcr:primaryType="nt:unstructured">
            <linkFieldSet
                jcr:primaryType="nt:unstructured"
                jcr:title="Link"
                sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
                <items jcr:primaryType="nt:unstructured">
                    <linkLabel
                        jcr:primaryType="nt:unstructured"
                        sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
                        fieldLabel="Link Label"
                        name="./linkLabel"
                        required="true"/>
                    <linkPath
                        jcr:primaryType="nt:unstructured"
                        sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
                        fieldLabel="Link Path"
                        name="./linkPath"
                        required="true"
                        rootPath="/content"/>
                </items>
            </linkFieldSet>
        </items>
    </field>
</navigationLinksMultifield>

 

 

 

Answers (4)

Answers (4)

Avatar

Avatar
Boost 5
Level 2
Kiranchonkar
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Give Back 3
Give Back
Boost 1
View profile

Avatar
Boost 5
Level 2
Kiranchonkar
Level 2

Likes

5 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Give Back 3
Give Back
Boost 1
View profile
Kiranchonkar
Level 2

04-05-2021

Well, this is nothing to do with structure I created in dialog.

I have used multiple nested multifield. So found error as tooManyCallsException for /libs/ui/components/coral/foundation/container/container.jsp

This error occurred for no of calling for multifield. There is a service as Apache Sling Main Servlet, where it ask for no of calls per request which is 1000 by default. I changed it to 10000 and it resolved this issue. Anyone else came accross this service? And where else it can impacted?

 

 

 

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

03-05-2021

Hi @Kiranchonkar,

Can you try using Collapsible Layout which in Coral UI 3 is the use of Accordion resource for multifield.

If not for all multifield resource, can try using for the inner multifield items to check if that help solves the issue.

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

Example :

Vijayalakshmi_S_0-1620050831348.png

 

 

This will result in look and feel like the below:

Vijayalakshmi_S_1-1620050891104.png

Vijayalakshmi_S_2-1620050953631.png

Avatar

Avatar
Boost 100
Level 5
Bhuwan_B
Level 5

Likes

100 likes

Total Posts

97 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Give Back 3
Affirm 25
Establish
Give Back
View profile

Avatar
Boost 100
Level 5
Bhuwan_B
Level 5

Likes

100 likes

Total Posts

97 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Give Back 3
Affirm 25
Establish
Give Back
View profile
Bhuwan_B
Level 5

03-05-2021

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

560 likes

Total Posts

677 posts

Correct Reply

194 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

560 likes

Total Posts

677 posts

Correct Reply

194 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

03-05-2021

Hi @Kiranchonkar 

 

There is no such restiriction which will allow only 3 items to display by default. Are you not able to see the complete items in full view of the dialog as well?