<?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 Custom Action to Copy Space URL to Clipboard in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-copy-space-url-to-clipboard/m-p/227386#M180516</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 understand that to copy a Space's URL to the Windows clipboard you need to go to the Details page of the space, right-click on 'Browse Page URL' and select Copy Shortcut (or Copy Link Location in Firefox). This would copy the Space's URL to the Windows clipboard so it can be pasted into an email as a link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I would like create a custom action so that a user can just simply click on an action icon in the list of actions available for the space, which would then copy the Space's URL to the Windows clipboard. Therefore not having to go to the Details page of a space each time and copying the URL via the 'Browse Page URL' link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the easiest and best way to achieve this? I have got as far as adding an action icon to my list of actions for a space, and now I just need to wire this action to the process of copying a Space's URL to the Windows clipboard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions welcome,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2009 14:10:39 GMT</pubDate>
    <dc:creator>luminary_mb</dc:creator>
    <dc:date>2009-08-12T14:10:39Z</dc:date>
    <item>
      <title>Custom Action to Copy Space URL to Clipboard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-copy-space-url-to-clipboard/m-p/227386#M180516</link>
      <description>Hi,I understand that to copy a Space's URL to the Windows clipboard you need to go to the Details page of the space, right-click on 'Browse Page URL' and select Copy Shortcut (or Copy Link Location in Firefox). This would copy the Space's URL to the Windows clipboard so it can be pasted into an emai</description>
      <pubDate>Wed, 12 Aug 2009 14:10:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-copy-space-url-to-clipboard/m-p/227386#M180516</guid>
      <dc:creator>luminary_mb</dc:creator>
      <dc:date>2009-08-12T14:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action to Copy Space URL to Clipboard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-copy-space-url-to-clipboard/m-p/227387#M180517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://brooknovak.wordpress.com/2009/07/28/accessing-the-system-clipboard-with-javascript/" rel="nofollow noopener noreferrer"&gt;http://brooknovak.wordpress.com/2009/07/28/accessing-the-system-clipboard-with-javascript/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 14:39:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-copy-space-url-to-clipboard/m-p/227387#M180517</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-08-12T14:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Action to Copy Space URL to Clipboard</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-copy-space-url-to-clipboard/m-p/227388#M180518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've just been looking at the source code of the Space Details jsp page, and I have found a number of references to functions that make up the 'Browse Page URL' link. Such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp;&amp;nbsp; =request.getContextPath()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp;&amp;nbsp; #{DialogManager.bean.browseUrl}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp;&amp;nbsp; #{msg.details_browse_bookmark}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything from here that I can re-use or reference in my custom action that I have created in web-client-config-custom.xml?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 15:22:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-copy-space-url-to-clipboard/m-p/227388#M180518</guid>
      <dc:creator>luminary_mb</dc:creator>
      <dc:date>2009-08-12T15:22:12Z</dc:date>
    </item>
  </channel>
</rss>

