Show the form output dynamically in ADF with APS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2020 03:59 AM
Hi everyone,
(Note that i'm using APS 1.9 and ADF 3.5)
We would like to create a "special" form where the outputs can appear dynamically in function of, for example :
- the user connected
- value of a checkbox
- value of a dropdown
- etc...
I understand that, every possible outputs needs to be in the original form (in APS).
But is it possible to make dynamical the "output buttons" with simple lines in ADF (with css or else ?)
If so, can anyone help us on the way to do it ?
Thank you for helping !

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2020 09:04 AM
You can apply your strategy here
https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/process-services/src/lib/fo...
Something like
outcomes: [ { id: 'myaction1', name: 'My Action 1' }, { id: 'myaction2', name: 'My Action 2' } ]
And as part of the
https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/core/form/components/form-b...
if (outcome.id === 'myaction1') { // your code }
