<?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 Re: How to add Document 'Title' and 'Description' fields into the 'Recent Activities' which only contains the Document 'Name'? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18647#M8248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably it's not so simple: you should extend activity list to include description (&lt;A href="https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/dashlets/activity-list.get.js" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/dashlets/activity-list.get.js&lt;/A&gt;) before&amp;nbsp;extending site-activities.get webscript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 12:55:06 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2017-08-23T12:55:06Z</dc:date>
    <item>
      <title>How to add Document 'Title' and 'Description' fields into the 'Recent Activities' which only contains the Document 'Name'?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18646#M8247</link>
      <description>Hi all,Were using 'Recent activities' dashlet and related email notifications to keep all members aware of each document created or updated.Given the nature of our documentary policy it isn't enough knowing the document name to understand what's about.So, we want to add some additional fields on the</description>
      <pubDate>Wed, 23 Aug 2017 10:32:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18646#M8247</guid>
      <dc:creator>polc</dc:creator>
      <dc:date>2017-08-23T10:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Document 'Title' and 'Description' fields into the 'Recent Activities' which only contains the Document 'Name'?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18647#M8248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably it's not so simple: you should extend activity list to include description (&lt;A href="https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/dashlets/activity-list.get.js" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/dashlets/activity-list.get.js&lt;/A&gt;) before&amp;nbsp;extending site-activities.get webscript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:55:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18647#M8248</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-08-23T12:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Document 'Title' and 'Description' fields into the 'Recent Activities' which only contains the Document 'Name'?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18648#M8249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is indeed not so simple. Most (if not all) data for activities is collected at the time the activity is triggered / recorded (to ensure consistency, i.e. the document was named XY at the time it was changed, but now might be named something else). The activities are posted from various places in the Alfresco code, primarily by the client JavaScript POSTing JSON to a specific web script. The JSON is - AFAIK - saved verbatim in the activity post DB table without much processing. Asynchronously, these JSON structures are processed by the FeedProcessor that then generates the personal activity feed entries. At that time, the data of an activity entry is "fixed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could extend the activity list to include the "current" description, but you would get a view that may not be consistent with the historic state of the affected element. If you wanted to enhance the data at the time of capture, you might add a facade around&amp;nbsp;ActivityPostService, parse the raw activity JSON, add missing data to it and stringify it again before passing it to the actual service. The inclusion of the title/description in the activity list is then only a matter of overriding the activity templates via custom I18n resource bundles on the Repository-tier (see alfresco/messages/activity-list.properties - custom0/custom1 could be your additions of the title/description, unless provided in the original JSON).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:24:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18648#M8249</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-23T13:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Document 'Title' and 'Description' fields into the 'Recent Activities' which only contains the Document 'Name'?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18649#M8250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank @&lt;A _jive_internal="true" data-userid="75627" data-username="angelborroy" href="https://community.alfresco.com/people/angelborroy" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;Angel Borroy&lt;/SPAN&gt;&lt;/A&gt; and @&lt;A _jive_internal="true" data-userid="73554" data-username="afaust" href="https://community.alfresco.com/people/afaust" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;Axel Faust&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;for your replies.&lt;/P&gt;&lt;P&gt;I will keep in mind all information you provided until we've enough time to work on that.&lt;/P&gt;&lt;P&gt;Any other related information will be well received.&lt;/P&gt;&lt;P&gt;I hope it will be useful for other teams.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;PolC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 07:11:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-document-title-and-description-fields-into-the-recent/m-p/18649#M8250</guid>
      <dc:creator>polc</dc:creator>
      <dc:date>2017-08-24T07:11:39Z</dc:date>
    </item>
  </channel>
</rss>

