<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic What's the best way to track metadata (property) changes on a node? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110242#M30868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement to show a history of changes to a certain property of site. This is for a custom node type (derived from 'st:site'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read about the MetadataTracker in this interesting post by &lt;A _jive_internal="true" href="https://community.alfresco.com/people/a.gazzarini" rel="nofollow noopener noreferrer"&gt;Andrea Gazzarini&lt;/A&gt;, which looks to be relevant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alfresco.com/community/ecm/blog/2019/04/10/the-alfresco-content-tracker" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/community/ecm/blog/2019/04/10/the-alfresco-content-tracker&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm unsure how to use this, as there is no practical example of how to apply it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I want to do, is show the user the history of what changes were made to the property (and possibly who made them). If there is some out-of-the-box way of doing this, that would be ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, any guidance to resources which explain how to do this would be most appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2019 09:08:33 GMT</pubDate>
    <dc:creator>afielden</dc:creator>
    <dc:date>2019-06-03T09:08:33Z</dc:date>
    <item>
      <title>What's the best way to track metadata (property) changes on a node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110242#M30868</link>
      <description>I have a requirement to show a history of changes to a certain property of site. This is for a custom node type (derived from 'st:site'.I've read about the MetadataTracker in this interesting post by Andrea Gazzarini, which looks to be relevanthttps://community.alfresco.com/community/ecm/blog/2019/0</description>
      <pubDate>Mon, 03 Jun 2019 09:08:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110242#M30868</guid>
      <dc:creator>afielden</dc:creator>
      <dc:date>2019-06-03T09:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to track metadata (property) changes on a node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110243#M30869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MetadataTracker is relevant ONLY for SOLR indexing, and NOT for maintaining a full history of changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;What you are looking for is more in line with &lt;A href="http://docs.alfresco.com/6.1/references/dev-extension-points-behaviors.html" rel="nofollow noopener noreferrer"&gt;Behaviours / Policies&lt;/A&gt;. With these you can react to a multitude of events, e.g. OnPropertiesUpdate, and record the relevant information in any form of history / log you want. In Alfresco 6.1 there is even a way to use a messaging queue to process these events asynchronously and out-of-process, though there doesn't seem to be any documentation on how to use that yet, despite it being one of the key features in the latest release. The only mention I could find of it is from &lt;A href="https://www.slideshare.net/StefanKopf1/architectural-changes-in-the-repo-in-61-and-beyond" rel="nofollow noopener noreferrer"&gt;a DevCon 2019 talk on archtiectural changes&lt;/A&gt; (2-3 slides only).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, there is &lt;A href="http://docs.alfresco.com/community/concepts/audit-overview.html" rel="nofollow noopener noreferrer"&gt;Auditing&lt;/A&gt;, which is a meant to record arbitrary custom data originating from node changes and/or API invocations&amp;nbsp;and allow for&amp;nbsp;the recorded&amp;nbsp;data entries to be queried / retrieved, but it can be quite complex. Also, it is expected that auditing will also shift more to an out-of-process approach at some point similar to the event-related queue. Additionally, unless you are already quite familiar with Auditing, it can be easy to fall into various performance / scalability traps&amp;nbsp;due to naiive implementation approaches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 10:00:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110243#M30869</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-06-03T10:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to track metadata (property) changes on a node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110244#M30870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel for your helpful response. Yes I'm familiar with attaching Behaviours to respond to document updates. That was the approach I had in mind, but was wondering if Alfresco provided some ready solution, in a similar way to the tracking of document content history/changes.&lt;/P&gt;&lt;P&gt;The Auditing strategy doesn't sound like a road we want to go down, as we do lack familiarity with that feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 11:14:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110244#M30870</guid>
      <dc:creator>afielden</dc:creator>
      <dc:date>2019-06-03T11:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to track metadata (property) changes on a node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110245#M30871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Andrew Fielden&lt;/B&gt;, thanks for the referencing my post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to add my 2 cents: I can confirm the current design of the tracking&amp;nbsp;subsystem is not thought for fitting your&amp;nbsp;needs.&lt;/P&gt;&lt;P&gt;It is an internal component of SearchServices (that's the reason why you don't find any practical example in my post), so&amp;nbsp;that means it's valid only when you have Solr as part of your search infrastructure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition,&amp;nbsp;trackers don't&amp;nbsp;provide any callback mechanism for&amp;nbsp;sending notifications about events.&lt;/P&gt;&lt;P&gt;Although everything is possible, implementing such feature would require some custom code and a relevant change in an internal component. So briefly, that's not a ready solution:&amp;nbsp;definitely better to go with the approach described&amp;nbsp;by &lt;B&gt;Axel Faust&lt;/B&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 06:37:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/what-s-the-best-way-to-track-metadata-property-changes-on-a-node/m-p/110245#M30871</guid>
      <dc:creator>a_gazzarini</dc:creator>
      <dc:date>2019-06-04T06:37:44Z</dc:date>
    </item>
  </channel>
</rss>

