<?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 Angular component and ADF? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/custom-angular-component-and-adf/m-p/41837#M17540</link>
    <description>&lt;P&gt;By Default ADF providing component related to APS but some scenaria it is not full filling custom requirement so I am trying to create custom component in angular and want to inegrate that with APS.&lt;/P&gt;&lt;P&gt;I have created Workflow in APS.&lt;/P&gt;&lt;P&gt;1)I have created custom angular coponent with form filed and I am able to start workflow from that.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;processService&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;startProcess() I have used this api to start workflow.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2)Workflow is assigned to user and I have created custom angular form with required field.Now I want to submit that form (usertask) so which api I need to use in ADF?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have checked api-explorer and found that below api is used to submit usertask.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;POST /enterprise/task-forms/{taskId}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;From ADF how can I call this api?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="UserSignature lia-message-signature"&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;</description>
    <pubDate>Thu, 19 Nov 2020 07:58:32 GMT</pubDate>
    <dc:creator>Berlin77</dc:creator>
    <dc:date>2020-11-19T07:58:32Z</dc:date>
    <item>
      <title>Custom Angular component and ADF?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-angular-component-and-adf/m-p/41837#M17540</link>
      <description>&lt;P&gt;By Default ADF providing component related to APS but some scenaria it is not full filling custom requirement so I am trying to create custom component in angular and want to inegrate that with APS.&lt;/P&gt;&lt;P&gt;I have created Workflow in APS.&lt;/P&gt;&lt;P&gt;1)I have created custom angular coponent with form filed and I am able to start workflow from that.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;processService&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;startProcess() I have used this api to start workflow.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2)Workflow is assigned to user and I have created custom angular form with required field.Now I want to submit that form (usertask) so which api I need to use in ADF?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have checked api-explorer and found that below api is used to submit usertask.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;POST /enterprise/task-forms/{taskId}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;From ADF how can I call this api?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="UserSignature lia-message-signature"&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Nov 2020 07:58:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-angular-component-and-adf/m-p/41837#M17540</guid>
      <dc:creator>Berlin77</dc:creator>
      <dc:date>2020-11-19T07:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Angular component and ADF?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-angular-component-and-adf/m-p/41838#M17541</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can call webscript like this&lt;/P&gt;&lt;PRE&gt;this.alfrescoJsApi.core.webscriptApi.executeWebScript('POST', URL, null, null, &lt;BR /&gt;null, postBody).then((response: any) =&amp;gt; {&lt;BR /&gt;});&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Nov 2020 11:17:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-angular-component-and-adf/m-p/41838#M17541</guid>
      <dc:creator>Prachi_Shah</dc:creator>
      <dc:date>2020-11-24T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Angular component and ADF?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-angular-component-and-adf/m-p/41839#M17542</link>
      <description>&lt;P&gt;you can use the &lt;A href="https://www.alfresco.com/abn/adf/docs/core/services/form.service/" target="_self" rel="nofollow noopener noreferrer"&gt;formService&lt;/A&gt; from ADF. collect all the required variables on form submission then call&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;formService.completeTaskForm(taskId: string, formValues:FormValues,outcome?: string)&lt;/PRE&gt;&lt;P&gt;Hope It helps.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 14:29:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-angular-component-and-adf/m-p/41839#M17542</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2020-11-27T14:29:00Z</dc:date>
    </item>
  </channel>
</rss>

