<?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 Posting Custom Activity to Dashlet in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/posting-custom-activity-to-dashlet/m-p/212005#M165135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created a new content section in share, and wanted the creation/updating and deletion tasks to show up in the activities dashlet.&amp;nbsp; No big deal, it's easy to see how the links content section does it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;links.put.json.js has the following line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;activities.postActivity("org.alfresco.links.link-updated", siteId, containerId, jsonUtils.toJSONString(data));&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;If you search for that org.alfresco.links string you see they're all listed in&amp;nbsp; activity-list.get.properties with&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.links.link-created={0} link created by {1}&lt;BR /&gt;org.alfresco.links.link-updated={0} link updated by {1}&lt;BR /&gt;org.alfresco.links.link-deleted={0} link deleted by {1}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So I added my entries, and my javascript files pass in the new string I created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However when I edit a file, I don't think the activityPostService is doing it, I get this error in the console&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; Skipping activity post 28 since no specific/generic templates for activityType: com.eastport.list.list-updated&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Reading the javadoc for activyService.postActivity it says you can post any "pre defined activities" so I'm guessing that's my problem.&amp;nbsp; How can you post custom activities?&amp;nbsp; (btw, my entry com.eastport.list.list-updated is in the mysql database, status error'd out though.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2009 17:20:40 GMT</pubDate>
    <dc:creator>dwinfield</dc:creator>
    <dc:date>2009-10-09T17:20:40Z</dc:date>
    <item>
      <title>Posting Custom Activity to Dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/posting-custom-activity-to-dashlet/m-p/212005#M165135</link>
      <description>I've created a new content section in share, and wanted the creation/updating and deletion tasks to show up in the activities dashlet.&amp;nbsp; No big deal, it's easy to see how the links content section does it.links.put.json.js has the following lineactivities.postActivity("org.alfresco.links.link-updated</description>
      <pubDate>Fri, 09 Oct 2009 17:20:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/posting-custom-activity-to-dashlet/m-p/212005#M165135</guid>
      <dc:creator>dwinfield</dc:creator>
      <dc:date>2009-10-09T17:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Posting Custom Activity to Dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/posting-custom-activity-to-dashlet/m-p/212006#M165136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Along with the changes I made in activity-list.get.properties&amp;nbsp; (listed below) there were backend changes to make.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in alfresco.extension.templates.activities.com.eastport I copied the generic.json.ftl and slingshot-common.ftl from the alfresco.templates.activities.org.alfresco folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I created three files, and you can mirror what they do in remote-api\config\alfresco\templates\activies folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 18:34:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/posting-custom-activity-to-dashlet/m-p/212006#M165136</guid>
      <dc:creator>dwinfield</dc:creator>
      <dc:date>2009-10-09T18:34:23Z</dc:date>
    </item>
  </channel>
</rss>

