AnsweredAssumed Answered

Updating Metadata from Content on content update

Question asked by buje85 on Sep 28, 2016
Latest reply on Oct 25, 2016 by buje85

Hi. 

 

I have some content within an excel file that i also want as Metadata. When a value in the content changes I want the Metadata to update too.   I have attempted to do this in a java behavior and it works using the onUpdateProperties policy.  The problem with this is that it runs when any property is updated.

 

 To solve this I tried using the onContentUpdated policy  but when I try to get a content reader on the node so I can read the value in the content stream  null is returned, a content reader isn't returned. 

 

Is there a different policy I should use or is there a better solution to update Metadata based on content data. Thanks

Outcomes