<?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 Inject RuntimeService in the task in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37650#M15868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to inject the RuntimeService in the document body of a form so we are able to use its methods ?&lt;/P&gt;&lt;P&gt;Like for the FormService ?&lt;/P&gt;&lt;P&gt;I tested like the FormService injection but it dosen't work (in javascript tab in the form)&lt;/P&gt;&lt;PRE&gt; var formService = angular.element(document.body).injector().get('FormService')&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Chemss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 08:41:43 GMT</pubDate>
    <dc:creator>bhchemss</dc:creator>
    <dc:date>2017-07-20T08:41:43Z</dc:date>
    <item>
      <title>Inject RuntimeService in the task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37650#M15868</link>
      <description>Hi everyone ,Is it possible to inject the RuntimeService in the document body of a form so we are able to use its methods ?Like for the FormService ?I tested like the FormService injection but it dosen't work (in javascript tab in the form) var formService = angular.element(document.body).injector()</description>
      <pubDate>Thu, 20 Jul 2017 08:41:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37650#M15868</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-07-20T08:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Inject RuntimeService in the task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37651#M15869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should have worked, I remember trying it a few months ago (&lt;A __default_attr="227276" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/message/804963-re-auto-save-form-in-user-task" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;). Not sure if something has changed..do you have an example app which is not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 15:12:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37651#M15869</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-20T15:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Inject RuntimeService in the task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37652#M15870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ciju,&lt;/P&gt;&lt;P&gt;Yes its working for FormService, not for RuntimeService &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 15:26:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37652#M15870</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-07-20T15:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inject RuntimeService in the task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37653#M15871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of a RuntimeService in the angular webapp!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 15:58:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37653#M15871</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-20T15:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Inject RuntimeService in the task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37654#M15872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to list all services existing in the angular app&lt;/P&gt;&lt;P&gt;Services available are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ProcessService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;TaskService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FormService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FilterService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;CommentService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;NavigationService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;AuthenticationSharedService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;UserService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FunctionalGroupService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;RelatedContentService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ContentAccountService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;RuntimeAppDefinitionService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ReportService&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Utils&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:08:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inject-runtimeservice-in-the-task/m-p/37654#M15872</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-07-26T13:08:47Z</dc:date>
    </item>
  </channel>
</rss>

