I'm using AEM 6.1 and using the following code to provide an autocomplete form to select a tag in a Touch UI dialog:
<tags jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/autocomplete" fieldLabel="My Tags" mode="contains" multiple="{Boolean}true" name="./cq:tags"> <datasource jcr:primaryType="nt:unstructured" sling:resourceType="cq/gui/components/common/datasources/tags"/> <values jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/autocomplete/tags"/> <options jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/autocomplete/list"/> </tags>
However this is showing all tags when autocompleting. Is there a way to restrict what tags will be shown (something like tagsPath from tagspicker)?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Here is the one you can refer: http://experience-aem.blogspot.in/2015/05/aem-61-touch-ui-multiple-root-paths-in-tags-picker.html
Thanks
Views
Replies
Total Likes
Here is the one you can refer: http://experience-aem.blogspot.in/2015/05/aem-61-touch-ui-multiple-root-paths-in-tags-picker.html
Thanks
Views
Replies
Total Likes
Thanks edubey!
I was thinking in an OOB solution. But I'll take a look into that extension.
Views
Replies
Total Likes
Views
Likes
Replies