07-20-2017 04:41 AM
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().get('FormService')
Cheers
Chemss
07-20-2017 11:12 AM
07-20-2017 11:26 AM
Hey Ciju,
Yes its working for FormService, not for RuntimeService
07-20-2017 11:58 AM
I'm not aware of a RuntimeService in the angular webapp!
07-26-2017 09:08 AM
I tried to list all services existing in the angular app
Services available are :
ProcessService
TaskService
FormService
FilterService
CommentService
NavigationService
AuthenticationSharedService
UserService
FunctionalGroupService
RelatedContentService
ContentAccountService
RuntimeAppDefinitionService
ReportService
Utils
Explore our Alfresco products with the links below. Use labels to filter content by product module.