<?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: Form from sdk3 to ADF in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3103#M1021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp; alfresco-js-api component and all GET request methods work fine ! I retrieve data and can constitute my custom Form &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The last problem is to constitute POST method in order to submit my form :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the request when i submit form by using Share (formprocessor)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/19986_pastedImage_2.png" style="width: 620px; height: 383px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose i must keep "formprocessor" request in order to update data (Tell me if i can do that by another way)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't succeed to constitute correctly the request because of arguments type : Request Payload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i apply this kind of request ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2018 13:40:36 GMT</pubDate>
    <dc:creator>anakin59490</dc:creator>
    <dc:date>2018-03-29T13:40:36Z</dc:date>
    <item>
      <title>Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3097#M1015</link>
      <description>Hi ,With sdk 3, i have a created a site with form and action buttons :In my platform-jar, i have a worklow-validation-context (xxx-platform-jar/src/main/resources/alfresco/module/xxx-platform-jar/workflows) :Can i use adf API to retrieve result (json ?) and put the items value in ADF form ?If it's p</description>
      <pubDate>Tue, 23 Jan 2018 10:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3097#M1015</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-01-23T10:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3098#M1016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So far ADF does not support workflows within Alfresco Content Services. It only works for Alfresco Process Services workflows. At least that is my latest information...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 14:37:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3098#M1016</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-24T14:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3099#M1017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ADF is updated every day and&amp;nbsp;I follow with great interest the&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-content-app" title="https://github.com/Alfresco/alfresco-content-app" rel="nofollow noopener noreferrer"&gt;GitHub - Alfresco/alfresco-content-app&lt;/A&gt;&amp;nbsp;project, because it resumes a lot of functionnalities i need for my users :&lt;/P&gt;&lt;P&gt;I think i can use Share UI with admin profile to install the "environnement" : site, users, access, etc.... But i think&amp;nbsp;it's possible , now, to use adf for user interface (profile &amp;lt;&amp;gt; admin). The only thing that's missing is to reproduce this form (first picture). But if i understand&amp;nbsp;alfresco&amp;nbsp;logic (complex for me), it's generated with alfresco FormProcessor and some config files (see my workflow-validation-context.xml). The aim of my project is very simple : Index documents pdf with a model document already defined (form fields) and generate HL7 files (java code in platform-jar). The project is ok with sdk2. We asked me to upgrade with sdk3 but i'm pretty sure that i can use adf for user interface. It would be modern and user friendly. Moreover i test my webscripts, defined in platform-jar, from an adf sandbox project and it works nice (&lt;A class="link-titled" href="https://alfresco.github.io/adf-component-catalog/components/WebscriptComponent.html" title="https://alfresco.github.io/adf-component-catalog/components/WebscriptComponent.html" rel="nofollow noopener noreferrer"&gt;ADF Component Catalog&lt;/A&gt;&amp;nbsp;)! So adf can communicate with platform-jar.&lt;/P&gt;&lt;P&gt;My question is : Can FormServices (&lt;A class="link-titled" href="https://alfresco.github.io/adf-component-catalog/injectables/FormService.html" title="https://alfresco.github.io/adf-component-catalog/injectables/FormService.html" rel="nofollow noopener noreferrer"&gt;ADF Component Catalog&lt;/A&gt;&amp;nbsp;) be used to retrieve the fields defined in my config&amp;nbsp;in order to create a beautiful form in a beautifull adf app ? Thx a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 17:40:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3099#M1017</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-05T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3100#M1018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll move this question into the ADF space. Maybe someone there can respond to that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 18:07:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3100#M1018</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-02-05T18:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3101#M1019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Axel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the complete screen i hope creating with ADF :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/19159_full.png" /&gt;&lt;/P&gt;&lt;P&gt;to resume : indexation = 1 form with 1 pdf and 3 actions buttons&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 17:08:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3101#M1019</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-02-06T17:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3102#M1020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerome,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you could maybe try to use the webscript service to do a call to this API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;constructor&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;private&lt;/SPAN&gt; apiService&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; AlfrescoApiService&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;apiService&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getInstance&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;webScript&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;executeWebScript&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'post'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;scriptPath&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;scriptArgs&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;contextRoot&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;servicePath&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;then&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;webScriptdata&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&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;P&gt;&lt;/P&gt;&lt;P&gt;this is the documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/WebscriptApi.md" title="https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/WebscriptApi.md" rel="nofollow noopener noreferrer"&gt;alfresco-js-api/WebscriptApi.md at master · Alfresco/alfresco-js-api · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that is not a webscript&amp;nbsp;yours but the advantage of using this call if it works is that you already have the token and the login session. You should only try to compose the address in the right way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #6a737d; background-color: #ffffff; font-weight: 600;"&gt;http(s)://(host):smileysad:port)/(contextPath)/(servicePath)/(scriptPath)?(scriptArgs)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:19:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3102#M1020</guid>
      <dc:creator>eugenio_romano</dc:creator>
      <dc:date>2018-02-07T10:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3103#M1021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp; alfresco-js-api component and all GET request methods work fine ! I retrieve data and can constitute my custom Form &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The last problem is to constitute POST method in order to submit my form :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the request when i submit form by using Share (formprocessor)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/19986_pastedImage_2.png" style="width: 620px; height: 383px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose i must keep "formprocessor" request in order to update data (Tell me if i can do that by another way)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't succeed to constitute correctly the request because of arguments type : Request Payload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i apply this kind of request ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 13:40:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3103#M1021</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-03-29T13:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Form from sdk3 to ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3104#M1022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is what i try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/20001_pastedImage_1.png" style="width: 867px; height: 355px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but postForm must be String type so how can i compose properly this request , please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also update directly alfresco-js-api.js by adding 'utf-8' in&amp;nbsp;executeWebScript function&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9,0pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;var &lt;/SPAN&gt;accepts = [&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'application/json'&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;'text/html'&lt;/SPAN&gt;,&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'utf-8'&lt;/SPAN&gt;];&lt;/PRE&gt;&lt;P&gt;Thank you !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 20:34:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/form-from-sdk3-to-adf/m-p/3104#M1022</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-04-04T20:34:13Z</dc:date>
    </item>
  </channel>
</rss>

