Pathbrowser - multiselectpath not saving all selected paths - using AEM 6.2 | Community
Skip to main content
September 22, 2016

Pathbrowser - multiselectpath not saving all selected paths - using AEM 6.2

  • September 22, 2016
  • 3 replies
  • 4083 views

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/pickerSrc

 doesn'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>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

smacdonald2008
Level 10
September 22, 2016
manoj68850981
Level 2
July 17, 2018

Hi ,

Were you able to resolve this issue?  Even we are facing the same the pickerMutliselect option is selecting multiple entries in view but it's storing only single entry. Any inputs is much appreciated.

Thanks in advance.

Thanks,

Manoj

Level 3
July 18, 2018

Hi,

Anyone able to resolve the issue??

smacdonald2008
Level 10
July 18, 2018

Are you using Granite Resource type?

Level 3
July 18, 2018

Hi,

In my case I am using pathbrowser ui to show it in the front end.

I am not using in dialog.

I have tried with dialog too, but no luck.

I am using coral ui2, aem 6.2 instance