TaxonomyManager in cms project


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!