<?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 auto close the form upon submit. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306045#M259175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's a PR for this now here: &lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/Aikau/pull/194" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/Aikau/pull/194&lt;/A&gt;&lt;SPAN&gt; so it should be included in the JSDoc and tutorial as part of the 1.0.15 release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 15:18:08 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2015-04-24T15:18:08Z</dc:date>
    <item>
      <title>How to auto close the form upon submit.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306042#M259172</link>
      <description>Hi all,I have created a form using topic "ALF_CREATE_DIALOG_REQUEST", the sample code snippet is shown below,var alfDestination = null;var result = remote.call("url call to repository");if (result.status.code == status.STATUS_OK) {&amp;nbsp;&amp;nbsp;&amp;nbsp;alfDestination = JSON.parse(result).metadata.parent.nodeRef;}//Cod</description>
      <pubDate>Thu, 02 Apr 2015 05:04:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306042#M259172</guid>
      <dc:creator>satheeshkumar</dc:creator>
      <dc:date>2015-04-02T05:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to auto close the form upon submit.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306043#M259173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason that the dialog you're creating using the "ALF_CREATE_DIALOG_REQUEST" is that the buttons you're seeing are from the form, not the dialog - do make the dialog disappear you'd need to configure "widgetsButtons" array to contain all the buttons that you wish to control your dialog with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since you're just using form controls then you should use "ALF_CREATE_FORM_DIALOG_REQUEST", however you're configuring it wrong… if you want to include additional data in the published payload (when the dialog confirmatio button is used) then you should include it in the "formSubmissionPayloadMixin" topic. Examples of using the DialogService can be found in the &lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/Aikau/blob/master/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/services/DialogService.get.js" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/Aikau/blob/master/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/services/DialogService.get.js&lt;/A&gt;&lt;SPAN&gt; file in GitHub. If you clone the GitHub repository and build and start the test application (mvn clean install jetty:run) then you can try the test page out at the URL: &lt;/SPAN&gt;&lt;A href="http://localhost:8089/aikau/page/tp/ws/DialogService" rel="nofollow noopener noreferrer"&gt;http://localhost:8089/aikau/page/tp/ws/DialogService&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking through the existing form dialog tutorials I see that we've not covered the "formSubmissionPayloadMixin" and it's not covered in the JSDoc either - I'll raise an issue on the Aikau backlog to address this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 08:20:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306043#M259173</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2015-04-13T08:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to auto close the form upon submit.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306044#M259174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've raised the feature request on the Aikau backlogs to improve the existing tutorial or add a new chapter that would cover this: &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/AKU-225" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/AKU-225&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 08:25:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306044#M259174</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2015-04-13T08:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to auto close the form upon submit.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306045#M259175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's a PR for this now here: &lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/Aikau/pull/194" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/Aikau/pull/194&lt;/A&gt;&lt;SPAN&gt; so it should be included in the JSDoc and tutorial as part of the 1.0.15 release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 15:18:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-auto-close-the-form-upon-submit/m-p/306045#M259175</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2015-04-24T15:18:08Z</dc:date>
    </item>
  </channel>
</rss>

