<?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 parseForm? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26539#M11450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks i just found the above link one hour ago, i'm trying to update the field definitions in the form, for example if field.type == readonly make that field as text, like field.type = text. Do you have any idea regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Amruta W&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2019 09:30:59 GMT</pubDate>
    <dc:creator>amruta_w</dc:creator>
    <dc:date>2019-04-01T09:30:59Z</dc:date>
    <item>
      <title>How to parseForm?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26537#M11448</link>
      <description>Hello,I have created the process with three task. In ADF i'm trying to parse the form like&amp;nbsp;this.formService.getTaskForm(this.currentTaskId).subscribe(data =&amp;gt; {for(let i = 0; i &amp;lt; data.fields.length ; i++) {this.fields2 = data.fields[i].fields;let count = 0;count = Object.keys(this.fields2).leng</description>
      <pubDate>Mon, 01 Apr 2019 06:39:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26537#M11448</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2019-04-01T06:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to parseForm?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26538#M11449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can see an example of the definition you need to use to parse a form from a json:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-ng2-components/blob/development/docs/docassets/demo-form.json" title="https://github.com/Alfresco/alfresco-ng2-components/blob/development/docs/docassets/demo-form.json" rel="nofollow noopener noreferrer"&gt;alfresco-ng2-components/demo-form.json at development · Alfresco/alfresco-ng2-components · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/core/form/models/form-definition.model.ts" title="https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/core/form/models/form-definition.model.ts" rel="nofollow noopener noreferrer"&gt;alfresco-ng2-components/form-definition.model.ts at development · Alfresco/alfresco-ng2-components · GitHub&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, ¿is your workflow deployed on APS/Activity 7 or in ACS?.&amp;nbsp; FormService only works with APS workflows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 09:26:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26538#M11449</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-04-01T09:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to parseForm?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26539#M11450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks i just found the above link one hour ago, i'm trying to update the field definitions in the form, for example if field.type == readonly make that field as text, like field.type = text. Do you have any idea regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Amruta W&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 09:30:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26539#M11450</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2019-04-01T09:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to parseForm?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26540#M11451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually use custom classes to implement&amp;nbsp;my form definition model . You could pass in the constructor the info you have and from that apply the necesary logic to generate the structure you need to parse the form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, you can implement methods to update the fields once the definition is generated but i never have found a situation that required it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 09:48:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-parseform/m-p/26540#M11451</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-04-01T09:48:06Z</dc:date>
    </item>
  </channel>
</rss>

