We have a following requirement:
To have a workflow that will allow us to publish/ unpublish pages on all/selected country domains of our website.
The following options to be available which an author should be able to select/unselect:
We have done publish/unpublish through a workflow. But need inputs in identifying the the best approach in enabling the selection to a content author.
Thanks in advance!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @pixislinger You can create the field and provided the options available in the workflow console (/libs/cq/gui/content/common/startbulkworkflows/body/items/form/items/wizard/items/properties/items/fixedColumnContainer/items/fixedColumn/items).
This can be achieved by creating a similar one as per business requirement and hide/unhide it based on the workflow model selected.
Then customize a bit on the script (/libs/cq/gui/components/common/admin/startbulkworkflows/clientlibs/startbulkworkflows/js/startbulkworkflows.js) available for reading the option dropdown provided. Within this script there is the function i.e. createWorkflow which is actually responsible for getting all the data before the workflow is created.
Hope this helps!
Thanks
Hello @pixislinger
You can provide drop-downs in dialog participant step to achieve the same.
The following example might interest you http://experience-aem.blogspot.com/2019/04/aem-65-content-copy-using-workflow-dialog-participant-ste...
Here they are selecting a destination folder from a drop down. The example can be adapted to your requirements.
Hi @pixislinger You can create the field and provided the options available in the workflow console (/libs/cq/gui/content/common/startbulkworkflows/body/items/form/items/wizard/items/properties/items/fixedColumnContainer/items/fixedColumn/items).
This can be achieved by creating a similar one as per business requirement and hide/unhide it based on the workflow model selected.
Then customize a bit on the script (/libs/cq/gui/components/common/admin/startbulkworkflows/clientlibs/startbulkworkflows/js/startbulkworkflows.js) available for reading the option dropdown provided. Within this script there is the function i.e. createWorkflow which is actually responsible for getting all the data before the workflow is created.
Hope this helps!
Thanks
Views
Likes
Replies