04-13-2017 06:29 AM
hi,
I have used the demo app that comes with ADF and have made the demo app talk my Alfresco Processes Services application.
I am able to start my application, but one of my task forms has a custom Stencil component which needs to be displayed.
I get the below error, where "multiple_departments" is the field name in my custom form,
Please provide you views and suggestions... Thank you...
Regards.
12-01-2017 05:29 AM
eugenio romano Denys Vuika
i am getting this error in adf - 2.0
ContainerWidgetComponent.html:17 ERROR ReferenceError: adf is not defined
at FormFieldComponent.hasController (adf-core.umd.js:17579)
at FormFieldComponent.ngOnInit (adf-core.umd.js:17529)
at checkAndUpdateDirectiveInline (core.js:12094)
at checkAndUpdateNodeInline (core.js:13597)
at checkAndUpdateNode (core.js:13540)
at debugCheckAndUpdateNode (core.js:14412)
at debugCheckDirectivesFn (core.js:14353)
at Object.eval [as updateDirectives] (ContainerWidgetComponent.html:17)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:14338)
at checkAndUpdateView (core.js:13507)
i am confused now with these tutorials
https://github.com/Alfresco/alfresco-ng2-components/blob/master/docs/stencils.md
https://github.com/Alfresco/alfresco-ng2-components/blob/master/docs/extensibility.md
which documentation i have to follow?. please give me the correct documentation for this.
<script src="node_modules/ng2-activiti-form/stencils/runtime.ng1.js"></script>
<script src="node_modules/ng2-activiti-form/stencils/runtime.adf.js"></script>
these lines are deprecated now but still it is there in documentation.
if (adf) { adf.registerComponent('ng2_component_01', SampleClass1); }
where i have to add?
12-01-2017 05:54 AM
You need only alfresco-ng2-components/extensibility.md at master · Alfresco/alfresco-ng2-components · GitHub The stencil you are trying to map "must not" have any controllers attached (neither AngularJS nor Angular).
12-04-2017 10:09 AM
12-05-2017 02:17 PM
We will fix the issue with APS controllers, so that you can still use them in both UIs
10-07-2019 02:43 AM
please advise has this issue been solved and how?
Explore our Alfresco products with the links below. Use labels to filter content by product module.