I am using below code to retrieve the taxonomy in microservices, but I am not getting the metadata
var taxonomies = new TaxonomyFactory();
var root = taxonomies.GetTaxonomyKeywords(uri);
am I doing something wrong here?
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI am using below code to retrieve the taxonomy in microservices, but I am not getting the metadata
var taxonomies = new TaxonomyFactory();
var root = taxonomies.GetTaxonomyKeywords(uri);
am I doing something wrong here?
This is a known issue in SDL Web 8.1.1. It has been resolved in later versions and will be available in the next on-premise release too.
You can find examples of how to use the CD Taxonomy API here: https://github.com/sdl/dxa-web-application-dotnet/blob/master/Sdl.Web.Tridion/Navigation/DynamicNavigationProvider.cs
(Search for GetTaxonomyKeywords
)