Expand my Community achievements bar.

SOLVED

Regular Expression to allow multiple paths in xtype 'pathfield'

Avatar

Level 9

Hi All,

We need to browse through the content from /content/www and /etc/lists paths.For this we have created widget of xtype 'pathfield'.This has property called rootPath and we are able to specify only one path.How to allow multiple paths.Is there any regular expression to allow the multiple paths.

Any other solution.

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Level 10

You need to use multifield & inside it you should have path field.   look at example of vanity paths oob to get an idea. Other references are

https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You need to use multifield & inside it you should have path field.   look at example of vanity paths oob to get an idea. Other references are

https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html