<?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: Space subscription, email notification from portal in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/space-subscription-email-notification-from-portal/m-p/269352#M222482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some updates of my analysis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found an aspect &lt;/SPAN&gt;&lt;STRONG&gt;]"cm:subscribable"[/b in alfresco content model.&lt;BR /&gt;Does that mean the feature is already available?&lt;BR /&gt;&lt;BR /&gt;I tried adding Subscribable aspect and associate couple of users using Run Action ( execute Javascript) against space for testing.&lt;BR /&gt;Using Node browser I could see subscribable aspect listed in Aspects section of Space also I see couple of entries in Associations section. So these entries are the person object when I checked.&lt;BR /&gt;&lt;BR /&gt;That said, now i could associate users to a space.&lt;BR /&gt;&lt;BR /&gt;Analysis in progress&lt;BR /&gt;———————————————————————————————————————————–&lt;BR /&gt;I am still not sure how to implement&amp;nbsp; email notification on create/update of any file under subscribed space.&lt;BR /&gt;&lt;BR /&gt;Since subscribe action should happen from portal potlet and not from Alfresco Explorer application.&lt;BR /&gt;&lt;BR /&gt;Only two possibilities I see,&lt;BR /&gt;1) For each subscribe on a space, check if required create/update content email send rule exists. If NOT then create.&lt;BR /&gt;So lets say, user1 subscribes to a space, so on first subscription, rule doent exist. So create one&lt;BR /&gt;Now user2 also subscribes to a space, this time since required rule already exists, no need to create rule again.&lt;BR /&gt;&lt;BR /&gt;Well, in this case rule should execute javascript (or java) action which can read subscribedBy Association on a space, and send email to those user.&lt;BR /&gt;&lt;BR /&gt;2) Another possibility is to implement Policy Component for create content and update content. In side behaviour check for parent (Space) if Space contains Sbscribable aspect, &lt;BR /&gt;get list of subscribed users from association "cm:subscribedBy", get email id and send email.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you guys have any other approach?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Nikesh&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 12:17:32 GMT</pubDate>
    <dc:creator>nikes</dc:creator>
    <dc:date>2011-09-06T12:17:32Z</dc:date>
    <item>
      <title>Space subscription, email notification from portal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/space-subscription-email-notification-from-portal/m-p/269351#M222481</link>
      <description>Hello,I have a requirement to implement Alfresco space subscription feature with document upload, update email notification.A user should be able to subscribe/unsubscribe to space from portal (in our case portal showing alfresco folder structure). For any new upload or update of document, subscribed</description>
      <pubDate>Mon, 05 Sep 2011 07:25:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/space-subscription-email-notification-from-portal/m-p/269351#M222481</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2011-09-05T07:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Space subscription, email notification from portal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/space-subscription-email-notification-from-portal/m-p/269352#M222482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some updates of my analysis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found an aspect &lt;/SPAN&gt;&lt;STRONG&gt;]"cm:subscribable"[/b in alfresco content model.&lt;BR /&gt;Does that mean the feature is already available?&lt;BR /&gt;&lt;BR /&gt;I tried adding Subscribable aspect and associate couple of users using Run Action ( execute Javascript) against space for testing.&lt;BR /&gt;Using Node browser I could see subscribable aspect listed in Aspects section of Space also I see couple of entries in Associations section. So these entries are the person object when I checked.&lt;BR /&gt;&lt;BR /&gt;That said, now i could associate users to a space.&lt;BR /&gt;&lt;BR /&gt;Analysis in progress&lt;BR /&gt;———————————————————————————————————————————–&lt;BR /&gt;I am still not sure how to implement&amp;nbsp; email notification on create/update of any file under subscribed space.&lt;BR /&gt;&lt;BR /&gt;Since subscribe action should happen from portal potlet and not from Alfresco Explorer application.&lt;BR /&gt;&lt;BR /&gt;Only two possibilities I see,&lt;BR /&gt;1) For each subscribe on a space, check if required create/update content email send rule exists. If NOT then create.&lt;BR /&gt;So lets say, user1 subscribes to a space, so on first subscription, rule doent exist. So create one&lt;BR /&gt;Now user2 also subscribes to a space, this time since required rule already exists, no need to create rule again.&lt;BR /&gt;&lt;BR /&gt;Well, in this case rule should execute javascript (or java) action which can read subscribedBy Association on a space, and send email to those user.&lt;BR /&gt;&lt;BR /&gt;2) Another possibility is to implement Policy Component for create content and update content. In side behaviour check for parent (Space) if Space contains Sbscribable aspect, &lt;BR /&gt;get list of subscribed users from association "cm:subscribedBy", get email id and send email.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you guys have any other approach?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Nikesh&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 12:17:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/space-subscription-email-notification-from-portal/m-p/269352#M222482</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2011-09-06T12:17:32Z</dc:date>
    </item>
  </channel>
</rss>

