TaxonomyManager in cms project

Hi,

What’s the alternative for getting a TaxonomyManager in a cms project?

In a site project I can do something similar to this but it won’t work in a cms project.

TaxonomyManager taxonomyManager = HstServices.getComponentManager().getComponent(TaxonomyManager.class);

I have a valuelistprovider in the cms project whereby the values are fetched for a given taxonomy key.

Thanks in advance.

Kind Regards
Mehul Parmar

You can use ClassificationDao on CMS side, see:

thanks Marijan!

Hello @Mehul_Parmar1,

We are happy you are part of Bloomreach Developer’s Community.
Thank you for reaching out to us.
We hope we have answered your queries and therefore marking this thread for Closure.
Looking forward to your continuous contribution towards our vibrant Bloomreach Community.

Thank you