Hi ,
We use both classic UI and touch ui. In the classic UI we have multifiled which has data stored as string[] with values as contentpath^textvalue where ^ is delimiter.
Please let me know how could i achieve the same in touch ui using multifield.
Below is the snapshot for the field stored as string[] in crxde for classic UI .
The multifield i am trying is below which is not working
<staticconfig
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
fieldDescription="Configure Links Manually"
fieldLabel="Manual Configuration">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="navItems">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<path
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldLabel="Path"
name="navpath"/>
<label
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldDescription="Label of Link"
fieldLabel="Label"
maxlength="50"
name="textvalue"/>
</items>
</column>
</items>
</field>
</staticconfig>
Thanks