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?

  • 1
    Are you using the uri of a category, is it correct for the publication and have you published the category? – David Forster Nov 14 '16 at 17:55
  • What do you mean exactly with "I am not getting the metadata"? – Rick Pannekoek Nov 14 '16 at 19:14
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.

  • ok.. thank you :-) – Rafeeq Nov 16 '16 at 5:09
  • Any idea if this has been fixed ?? – Rafeeq Feb 13 '17 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. – Mihai Cădariu Mar 2 '17 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)

  • 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 '16 at 5:10
  • did u meant this one:github.com/sdl/dxa-web-application-dotnet/blob/master/… – Bhawna Jain Feb 14 '18 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.