Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Nested multifield not allowing to add more items

Avatar

Level 2

Hi there,

I have a nested multifield and I am using coral 3 .

I am able to add as much fields as I need. But sometimes after adding a number of fields ( It happens with a not precise number of adding) and saving,  when I come back to edit my multifield and I try to add another section I am not able to see all fields in the ui.

 

SarahBo2_0-1730387536948.png

 

 

Here the xml code of the dialog you can see in the image above:

 

<interestsAndFiltersSection
jcr:primaryType="nt:unstructured"
jcr:title="Items"
granite:class="pir-foundation-granite-ui-multi-field-validation-max-size"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
fieldLabel="Interests And Filters Section"
margin="{Boolean}true"
composite="{Boolean}true">
<field
sling:resourceType="granite/ui/components/coral/foundation/container"
jcr:primaryType="nt:unstructured"
name="./profileFilterInterests">
<items jcr:primaryType="nt:unstructured">
<containerFieldSet
jcr:primaryType="nt:unstructured"
jcr:title="Interest Section"
sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
<items jcr:primaryType="nt:unstructured">
<interestsCategoryTitle
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Interests Category Title"
name="./interestsTitle">

</interestsCategoryTitle>

<interestsFilterPlaceholder
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Interests Filter Placeholder"
name="./interestsFilterPlaceholder"/>

<fieldValueInterests
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/tagfield"
fieldLabel="Select the right tag"
fieldDescription="Insert the exact value received from CIAM"
name="./fieldValueInterests"
rootPath="/content/cq:tags"
metaType="tags"
multiple="false"
showEmptyInReadOnly="true"
valueType="String"/>

<labelType
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
fieldLabel="Label Type"
fieldDescription="Select the mode option"
name="./labelType">
<items jcr:primaryType="nt:unstructured">
<local
jcr:primaryType="nt:unstructured"
text="Local Label"
value="local"/>
<english
jcr:primaryType="nt:unstructured"
text="English Label"
value="english"/>
</items>
</labelType>
<interests
jcr:primaryType="nt:unstructured"
jcr:title="Items"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
fieldLabel="Interests"
margin="{Boolean}true"
composite="{Boolean}true">
<field
sling:resourceType="granite/ui/components/coral/foundation/container"
jcr:primaryType="nt:unstructured"
name="./interests">
<items jcr:primaryType="nt:unstructured">


<interestCode
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/tagfield"
fieldLabel="Select the right interest CODE tag"
fieldDescription="Insert the exact value received from CIAM"
name="./interestCode"
rootPath="/content/cq:tags"
metaType="tags"
multiple="false"
showEmptyInReadOnly="true"
valueType="String"/>

<interestsFilterLocalLabel
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Local Label"
name="./interestsFilterLocalLabel"/>
<interestsFilterEnglishLabel
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="English Label"
name="./interestsFilterEnglishLabel"/>
</items>
</field>
</interests>
</items>
</containerFieldSet>
</items>
</field>
</interestsAndFiltersSection>

 

I already applied the fix you suggested in this ticket : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/complex-nested-multifield...

 

Thank you,

Sarah

1 Reply

Avatar

Community Advisor

Hi @SarahBo2 ,

There is a service as Apache Sling Main Servlet, where it ask for number of calls per request which is 1000 by default. I changed it to 10000 and it resolved this issue. 

Did you try this fix?

Thanks