<?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: Hiding form field via TaskListener script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/hiding-form-field-via-tasklistener-script/m-p/290536#M243666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the most reliable way to hide a field from a workflow model in the Share form UI is by removing its definition in a &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Form_Filter" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Form_Filter&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;form filter&amp;lt;/a&amp;gt;. A form filter is Java-based implementation that can modify many aspects of a form before it is displayed and when its data is saved / processed. If you remove the field definition of a particular field in the afterGenerate method, Share won't know about the field and not display it unless you've forced it or explicitly configured a control template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Mar 2013 11:08:38 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2013-03-17T11:08:38Z</dc:date>
    <item>
      <title>Hiding form field via TaskListener script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hiding-form-field-via-tasklistener-script/m-p/290535#M243665</link>
      <description>HelloI need to hide some form fields (displayed with Share) in particular conditions when the flow usertask arrived. I've tried to define "create" script in Activiti Workflow (via TaskListener), but haven't success in modification of fields visibility (via Forms SDK).Thanks in advance for any help!</description>
      <pubDate>Sun, 17 Mar 2013 10:45:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hiding-form-field-via-tasklistener-script/m-p/290535#M243665</guid>
      <dc:creator>dmitrii_zolotov</dc:creator>
      <dc:date>2013-03-17T10:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding form field via TaskListener script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hiding-form-field-via-tasklistener-script/m-p/290536#M243666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the most reliable way to hide a field from a workflow model in the Share form UI is by removing its definition in a &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Form_Filter" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Form_Filter&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;form filter&amp;lt;/a&amp;gt;. A form filter is Java-based implementation that can modify many aspects of a form before it is displayed and when its data is saved / processed. If you remove the field definition of a particular field in the afterGenerate method, Share won't know about the field and not display it unless you've forced it or explicitly configured a control template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Mar 2013 11:08:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hiding-form-field-via-tasklistener-script/m-p/290536#M243666</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-03-17T11:08:38Z</dc:date>
    </item>
  </channel>
</rss>

