<?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: Custom Javascript action in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-javascript-action/m-p/296723#M249853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response Parzgnat!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then to create my UI action that sends an email, I should do these steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)write an action executer class;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)configure the action in spring;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)specify a custom client-side javascript component in share-config-custom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4)write the javascript component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it ok?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 09:00:37 GMT</pubDate>
    <dc:creator>rosh</dc:creator>
    <dc:date>2013-10-16T09:00:37Z</dc:date>
    <item>
      <title>Custom Javascript action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-javascript-action/m-p/296721#M249851</link>
      <description>I've created a custom action for send a mail.When the user click on button Alfresco call the server action and send mail; when the action is completed Alfresco show a success popup message.Is it possibile show a custom popup before the action is executed?It's very important for give at user status f</description>
      <pubDate>Fri, 11 Oct 2013 14:31:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-javascript-action/m-p/296721#M249851</guid>
      <dc:creator>rosh</dc:creator>
      <dc:date>2013-10-11T14:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Javascript action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-javascript-action/m-p/296722#M249852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you trying to configure an action in Share?&amp;nbsp; If so, then you can configure an action as a JavaScript action.&amp;nbsp; Because a JavaScript method is called when your action is clicked, this gives you the opportunity to make any presentation layer changes that you want (i.e. you can create popups, progress bars, etc.).&amp;nbsp; The typical control flow is that your JavaScript function will then make an AJAX request to an Alfresco webscript that does the actual work (in your case, sends an email).&amp;nbsp; Then upon success of the AJAX request, you can display a success message to the user in a popup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a link to a good tutorial that covers how to treat custom actions in Share.&amp;nbsp; It includes an example of a JavaScript action. &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-actions/actions-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-actions/actions-article-2ed.pdf&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 20:07:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-javascript-action/m-p/296722#M249852</guid>
      <dc:creator>parzgnat</dc:creator>
      <dc:date>2013-10-14T20:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Javascript action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-javascript-action/m-p/296723#M249853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response Parzgnat!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then to create my UI action that sends an email, I should do these steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)write an action executer class;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)configure the action in spring;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)specify a custom client-side javascript component in share-config-custom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4)write the javascript component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it ok?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 09:00:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-javascript-action/m-p/296723#M249853</guid>
      <dc:creator>rosh</dc:creator>
      <dc:date>2013-10-16T09:00:37Z</dc:date>
    </item>
  </channel>
</rss>

