<?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: How to add an extra custom button to a Share form in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-an-extra-custom-button-to-a-share-form/m-p/279251#M232381</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;To do this you need to make changes to org.alfresco.web.scripts.forms.FormUIGet by overriding it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this class you need to hande you new parameter and set that to form, so you can use it in ftl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;formUIModel.put(MODEL_SHOW_PREVIEW_BUTTON, discoverBooleanParam(context, MODEL_SHOW_PREVIEW_BUTTON));&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2014 09:08:47 GMT</pubDate>
    <dc:creator>lementree</dc:creator>
    <dc:date>2014-04-15T09:08:47Z</dc:date>
    <item>
      <title>How to add an extra custom button to a Share form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-an-extra-custom-button-to-a-share-form/m-p/279250#M232380</link>
      <description>I have been trying , in vain, to add a "Preview" button to my share form.After making changes to the share-config-custom.xml I did these things:1. Edit the form.lib.ftl&amp;nbsp;&amp;nbsp; Here is what I added to the renderFormButtons macro&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;#if form.showPreviewButton?? &amp;amp;&amp;amp; form.showPreviewButton&amp;gt;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Thu, 27 Mar 2014 10:27:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-an-extra-custom-button-to-a-share-form/m-p/279250#M232380</guid>
      <dc:creator>pkanuri</dc:creator>
      <dc:date>2014-03-27T10:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an extra custom button to a Share form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-an-extra-custom-button-to-a-share-form/m-p/279251#M232381</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;To do this you need to make changes to org.alfresco.web.scripts.forms.FormUIGet by overriding it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this class you need to hande you new parameter and set that to form, so you can use it in ftl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;formUIModel.put(MODEL_SHOW_PREVIEW_BUTTON, discoverBooleanParam(context, MODEL_SHOW_PREVIEW_BUTTON));&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 09:08:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-an-extra-custom-button-to-a-share-form/m-p/279251#M232381</guid>
      <dc:creator>lementree</dc:creator>
      <dc:date>2014-04-15T09:08:47Z</dc:date>
    </item>
  </channel>
</rss>

