<?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: Use the out-of-the-box move action in custom dashlet in Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/use-the-out-of-the-box-move-action-in-custom-dashlet-in-alfresco/m-p/304529#M257659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you can achieve this by calling a Web Script from JS. As an example, look at the onActionSimpleRepoAction JS function that is used from Document Library actions to invoke a Repo Action. You can find it in the &lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/community-edition/blob/master/projects/slingshot/source/web/components/documentlibrary/actions.js" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/community-edition/blob/master/projects/slingshot/source/web/components/documentlibrary/actions.js&lt;/A&gt;&lt;SPAN&gt; file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 08:03:10 GMT</pubDate>
    <dc:creator>gravitonian</dc:creator>
    <dc:date>2015-03-26T08:03:10Z</dc:date>
    <item>
      <title>Use the out-of-the-box move action in custom dashlet in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-the-out-of-the-box-move-action-in-custom-dashlet-in-alfresco/m-p/304528#M257658</link>
      <description>I have a custom dashlet(in Alfresco Share) which displays a list of documents of a specific folder. I want to set a link on the front of each document with the name "Move this doc". Until here, all is ok. I have the following display in my custom dashlet &lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;oc1 || Move this docDoc2 || Move this docDo</description>
      <pubDate>Wed, 25 Mar 2015 16:33:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-the-out-of-the-box-move-action-in-custom-dashlet-in-alfresco/m-p/304528#M257658</guid>
      <dc:creator>mstpkha</dc:creator>
      <dc:date>2015-03-25T16:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use the out-of-the-box move action in custom dashlet in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-the-out-of-the-box-move-action-in-custom-dashlet-in-alfresco/m-p/304529#M257659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you can achieve this by calling a Web Script from JS. As an example, look at the onActionSimpleRepoAction JS function that is used from Document Library actions to invoke a Repo Action. You can find it in the &lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/community-edition/blob/master/projects/slingshot/source/web/components/documentlibrary/actions.js" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/community-edition/blob/master/projects/slingshot/source/web/components/documentlibrary/actions.js&lt;/A&gt;&lt;SPAN&gt; file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 08:03:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-the-out-of-the-box-move-action-in-custom-dashlet-in-alfresco/m-p/304529#M257659</guid>
      <dc:creator>gravitonian</dc:creator>
      <dc:date>2015-03-26T08:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Use the out-of-the-box move action in custom dashlet in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-the-out-of-the-box-move-action-in-custom-dashlet-in-alfresco/m-p/304530#M257660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mr Gravitonian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've made some research but I didn't get a consistance response until now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Recently, I've found that I should use the copy-move-to.js script in my Freemarker file of my webscript that generate the list of documents(regarding to 5.0 version of Alfresco).&amp;nbsp; I think I should add the following line in the top of my ftl file : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;@script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/copy-move-to.js"&amp;gt;&amp;lt;/@script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, until now, I didn't get any example in which I could focus to understand how to use it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have anyone any idea to help me, please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 16:47:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-the-out-of-the-box-move-action-in-custom-dashlet-in-alfresco/m-p/304530#M257660</guid>
      <dc:creator>mstpkha</dc:creator>
      <dc:date>2015-04-09T16:47:16Z</dc:date>
    </item>
  </channel>
</rss>

