3

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?

2
  • 1
    Are you using the uri of a category, is it correct for the publication and have you published the category? Nov 14, 2016 at 17:55
  • What do you mean exactly with "I am not getting the metadata"? Nov 14, 2016 at 19:14

2 Answers 2

3

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.

3
  • ok.. thank you :-)
    – Rafeeq
    Nov 16, 2016 at 5:09
  • Any idea if this has been fixed ??
    – Rafeeq
    Feb 13, 2017 at 12:42
  • I ran into same issue. I am on 8.1.1. There is hotfix CD_8.2.0.2810 that addresses this issue. All CIL+services above 8.2.2 have this fix in also. Mar 2, 2017 at 0:09
2

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)

2
  • I have a taxonomy list that contains list of keywords with metadata. when I query for single keyword instead of taxonomy, the function returning keywords with metadata information. I am using the same method in non web-8 version and I am getting the keyword with metadata. I referred the sample you have mentioned above, but no luck
    – Rafeeq
    Nov 15, 2016 at 5:10
  • did u meant this one:github.com/sdl/dxa-web-application-dotnet/blob/master/… Feb 14, 2018 at 8:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.