Pathbrowser - multiselectpath not saving all selected paths - using AEM 6.2
Hi, Please can anyone help me on the below issue?
I have a tab in the metadata schema with a path browser with pickerMultiSelect option set to true. It works fine and allows me to select multiple paths however the value stored on the property -
./jcr:content/metadata/relatedimages/pickerSrcdoesn't save all selected paths but only one(1st selected). Not sure if i am missing any other properties? Also i noticed the node created with the property - pickerSrc is of type "String" and not "String[]". Should i need to declare the type of the property, if yes, please can you advice on how we can do that? I have searched many forums but ended-up with no suggestions.
My configuration -
<items jcr:primaryType="nt:unstructured"> <_x0031_469788468439 jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/pathbrowser" fieldLabel="Related Images" fieldDescription="Please select related images." rootPath="/content/dam" name="./jcr:content/metadata/relatedimages/pickerSrc" pickerMultiselect="true"> </_x0031_469788468439></items>