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
Hey Ciju,
Yes its working for FormService, not for RuntimeService
I'm not aware of a RuntimeService in the angular webapp!
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
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.