Restrict tags path while using autocomplete | Community
Skip to main content
carloso98118279
New Participant
February 2, 2017
Solved

Restrict tags path while using autocomplete

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
February 2, 2017

2 replies

carloso98118279
New Participant
February 2, 2017

Thanks edubey!

I was thinking in an OOB solution. But I'll take a look into that extension.

Translate
edubey
edubeyAccepted solution
Level 10
February 2, 2017