6

I'm developing a custom Storage extension to publish Tridion 2013 SP1 items into a NoSQL database but I'm struggling to find a way to gain access to the metadata on a Keyword when a user publishes a Category.

I know you can extend the JPATaxonomyDAO class and within the store method you are given a TaxonomyItem object where you can get access to the Description and the Name of a Keyword, but is there anyway to get access to the metadata?

I assume they must be in there somewhere as the metadata eventually goes into the the Custom_Meta Broker database table?

Andrew Whitehead's useful code got me so far but doesn't extract the metadata.

  • Did you got any way to extract the metadata? I'm having the same requirement. – polonskyg Nov 24 '16 at 18:35
  • No I didn't. It seems it is not possible – Ryan Durkin Dec 1 '16 at 18:07
  • I think you need extend the JPAItemDAO class as well. This should also have a store method. With the ItemMeta object passed to this method, you'll be able to enrich the document that you've already stored in your NoSQL database. I've managed to do this after some input from a client. As a hint my cd_storage_conf.xml includes the following item type: <Item typeMapping="Metadata" cached="true" storageId="couchbase" /> – Andy Rowland May 4 '17 at 13:54

Your Answer

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

Browse other questions tagged or ask your own question.