Expand my Community achievements bar.

Searching for assets using TagManager API

Avatar

Level 4

Hello,

I am using TagManager API to search for assets based on specified tags. I am using below function:

RangeIterator<Resource> find(String basePath,String[] tagIDs)

My search component is tagged with: namespace:parent_tag1/parent_tag2 - I want to find assets which are tagged with this tag but when using above "find" function, I am getting assets which are tagged with "namespace:parent_tag1/parent_tag2" and the assets which are tagged with the child tags of above asset, for e.g. "namespace:parent_tag1/parent_tag2/child_tag" too.

Thanks.

1 Reply

Avatar

Level 4

I gave seen similar threads lije this before. Other community members have stated ysing custom tags is better as discussed here: https://helpx.adobe.com/experience-manager/using/customtags1.html