<?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 Use default action buttons in custom view in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/use-default-action-buttons-in-custom-view/m-p/173671#M126803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm pretty new to Alfresco and am currently working on a custom view (in community 2.1.0 edition). My goal is to list the properties of my custom content and add some links to actions to them. However, I would also like to make use of the "default" edit, delete, view details, … buttons in order to not force the users who want to edit the content from the list to scroll all the way down to the "Content Items" section. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what I've come up with in the FTL by copy-pasting from the HTML code of the Web Client:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit button:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;a href="#" onclick="document.forms['browse']['browse:act'].value='browse:edit_doc_http_id_367';document.forms['browse']['id'].value='${document.id}';document.forms['browse'].submit();return false;" id="edit_doc_http_id_367"&amp;gt;&amp;lt;img src="…"&amp;gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&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;SPAN&gt;The same goes for Delete and View Details, with the exception that they have the "browse value" of "&lt;/SPAN&gt;&lt;STRONG&gt;details_doc_id_381&lt;/STRONG&gt;&lt;SPAN&gt;" and "&lt;/SPAN&gt;&lt;STRONG&gt;delete_doc_id_385&lt;/STRONG&gt;&lt;SPAN&gt;" (instead of "&lt;/SPAN&gt;&lt;STRONG&gt;edit_doc_http_id_367&lt;/STRONG&gt;&lt;SPAN&gt;"). So now I'm wondering how I could get the correct "details_doc_id_" or "delete_doc_id_" values for each document… I do have the feeling that this should be documented somewhere, but I just can't seem to find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So can someone please tell me more about how this works, provide a tutorial that covers this or at least point me in the right direction to continue my search? (I have been looking for a few hours already, but to no avail…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2008 11:52:42 GMT</pubDate>
    <dc:creator>benvercammen</dc:creator>
    <dc:date>2008-08-20T11:52:42Z</dc:date>
    <item>
      <title>Use default action buttons in custom view</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-default-action-buttons-in-custom-view/m-p/173671#M126803</link>
      <description>I'm pretty new to Alfresco and am currently working on a custom view (in community 2.1.0 edition). My goal is to list the properties of my custom content and add some links to actions to them. However, I would also like to make use of the "default" edit, delete, view details, … buttons in order to n</description>
      <pubDate>Wed, 20 Aug 2008 11:52:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-default-action-buttons-in-custom-view/m-p/173671#M126803</guid>
      <dc:creator>benvercammen</dc:creator>
      <dc:date>2008-08-20T11:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use default action buttons in custom view</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-default-action-buttons-in-custom-view/m-p/173672#M126804</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;the html you posted is generated by JSF. Have a look at org.alfresco.web.ui.repo.component.UIActions.java.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 21:01:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-default-action-buttons-in-custom-view/m-p/173672#M126804</guid>
      <dc:creator>markus_kuehn</dc:creator>
      <dc:date>2008-08-20T21:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use default action buttons in custom view</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/use-default-action-buttons-in-custom-view/m-p/173673#M126805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK thanks, I'll have a look at that…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've already kind of found a working solution for my requirements, as I've used the "&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/URL_Addressability#ExternalAccessServlet" rel="nofollow noopener noreferrer"&gt;ExternalAccessServlet&lt;/A&gt;&lt;SPAN&gt;" to create a link to the "Details page" like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;a href="/alfresco/navigate/showDocDetails/workspace/SpacesStore/${document.nodeRef.id}"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src="/alfresco/images/icons/View_details.gif" alt="View Details" title="View Details" border="0"&amp;gt;&lt;BR /&gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;What I haven't found so far is how I could call the "Edit" page for a document (or the checkout/checkin functionalities). Anybody got any ideas on that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 08:40:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/use-default-action-buttons-in-custom-view/m-p/173673#M126805</guid>
      <dc:creator>benvercammen</dc:creator>
      <dc:date>2008-08-21T08:40:15Z</dc:date>
    </item>
  </channel>
</rss>

