Solved! Go to Solution.
Views
Replies
Total Likes
Can you try with Granite type and not rely on ACS Common NODE_STORE
Example
<navigationLinksMultifield jcr:primaryType="nt:unstructured" granite:class="granite-ui-validation-multifield-max-items" validation="max-items-2" sling:resourceType="granite/ui/components/coral/foundation/form/multifield" composite="{Boolean}true" fieldLabel="Navigation Links"> <field jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container" name="./navLinks"> <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"/> <linkTarget jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/select" fieldLabel="CTA Link Target" name="./linkTarget"> <items jcr:primaryType="nt:unstructured"> <self jcr:primaryType="nt:unstructured" selected="{Boolean}true" text="Same Page" value="_self"/> <blank jcr:primaryType="nt:unstructured" text="New Tab" value="_blank"/> </items> </linkTarget> </items> </field> </navigationLinksMultifield>
Can you try with Granite type and not rely on ACS Common NODE_STORE
Example
<navigationLinksMultifield jcr:primaryType="nt:unstructured" granite:class="granite-ui-validation-multifield-max-items" validation="max-items-2" sling:resourceType="granite/ui/components/coral/foundation/form/multifield" composite="{Boolean}true" fieldLabel="Navigation Links"> <field jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container" name="./navLinks"> <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"/> <linkTarget jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/select" fieldLabel="CTA Link Target" name="./linkTarget"> <items jcr:primaryType="nt:unstructured"> <self jcr:primaryType="nt:unstructured" selected="{Boolean}true" text="Same Page" value="_self"/> <blank jcr:primaryType="nt:unstructured" text="New Tab" value="_blank"/> </items> </linkTarget> </items> </field> </navigationLinksMultifield>
Thanks for your reply. I have tried with granite type but the hidden fields are still storing in the jcr:content node. Even after deleting all the multifield section from the dialog, the hidden fields are not getting deleted. Can you tell me what could be the issue?
Views
Replies
Total Likes
I will try this and let you know
Views
Replies
Total Likes
Views
Likes
Replies