Hi Team,
I'm working on a component in which I want to add/allow multiple rootPath for Pathfield/Path browser. The rootPath is String type only & can't take multiple strings. I found this old question but it's not working for me. So, can you please suggest any workaround for this?
Regards,
sesmic
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @sesmic ,
there's no out-of-the-box solution to have multiple root paths.
you'll have to write some logic to fulfill your requirement.
you can mimic the behavior of List component's (core component) build-your-list-by method, to show and hide the root paths for different selections, to have respective root paths.
Thank you.
Regards,
Sravan
Hi @sesmic ,
there's no out-of-the-box solution to have multiple root paths.
you'll have to write some logic to fulfill your requirement.
you can mimic the behavior of List component's (core component) build-your-list-by method, to show and hide the root paths for different selections, to have respective root paths.
Thank you.
Regards,
Sravan
@sesmic Below use case works for multiple rootPath for Tag picker. The same you can customize according to your requirement
http://experience-aem.blogspot.com/2015/05/aem-61-touch-ui-multiple-root-paths-in-tags-picker.html
Views
Likes
Replies
Views
Likes
Replies