<?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: Js code in APS doesn't work in alfresco development framework ADF in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18189#M8070</link>
    <description>&lt;P&gt;I've wanted to the same thing a while ago with the ADW instead of an ADF app and as far as I am concerned there is no way to execute the APS JS code from the ADW/ADF app because of different major versions of angular. Since APS uses angular 1.x and ADW/ADF uses angular2+. At least that is what I've been told.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you can do is let your ADF app execute the JS code and access APS variables/elements to manipulate them. You could add custom stencils in APS and the corresponding code in the ADF app.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2023 10:48:08 GMT</pubDate>
    <dc:creator>SWardle</dc:creator>
    <dc:date>2023-07-03T10:48:08Z</dc:date>
    <item>
      <title>Js code in APS doesn't work in alfresco development framework ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18187#M8068</link>
      <description>&lt;P&gt;I'm using Alfresco process services. In the form editor in the JavaScript section, I wrote a JS code that does an AJAX call on the form rendered event to retrieve some information and add them to the form, all this is working fine. However, when I developed a new interface using ADF these scripts doesn't work.&lt;BR /&gt;How can I fix this?&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 10:59:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18187#M8068</guid>
      <dc:creator>kmamine</dc:creator>
      <dc:date>2023-05-07T10:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Js code in APS doesn't work in alfresco development framework ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18188#M8069</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/96476"&gt;@kmamine&lt;/A&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Have you wrapped your js (I suppose vanilla) code, into the Angular environment?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2023 18:28:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18188#M8069</guid>
      <dc:creator>gdorsi4</dc:creator>
      <dc:date>2023-07-01T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Js code in APS doesn't work in alfresco development framework ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18189#M8070</link>
      <description>&lt;P&gt;I've wanted to the same thing a while ago with the ADW instead of an ADF app and as far as I am concerned there is no way to execute the APS JS code from the ADW/ADF app because of different major versions of angular. Since APS uses angular 1.x and ADW/ADF uses angular2+. At least that is what I've been told.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you can do is let your ADF app execute the JS code and access APS variables/elements to manipulate them. You could add custom stencils in APS and the corresponding code in the ADF app.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 10:48:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18189#M8070</guid>
      <dc:creator>SWardle</dc:creator>
      <dc:date>2023-07-03T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Js code in APS doesn't work in alfresco development framework ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18190#M8071</link>
      <description>&lt;P&gt;I could get the JS script, but the problem is that I have to convert it to typescripts before execute it in angular. I was looking for a cleaner way, but it seems there is none.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 09:53:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18190#M8071</guid>
      <dc:creator>kmamine</dc:creator>
      <dc:date>2023-07-06T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Js code in APS doesn't work in alfresco development framework ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18191#M8072</link>
      <description>&lt;P&gt;I could access the APS code, but to execute it, it has to be compatible with typescript.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 09:55:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/js-code-in-aps-doesn-t-work-in-alfresco-development-framework/m-p/18191#M8072</guid>
      <dc:creator>kmamine</dc:creator>
      <dc:date>2023-07-06T09:55:47Z</dc:date>
    </item>
  </channel>
</rss>

