cancel
Showing results for 
Search instead for 
Did you mean: 

Custom widget and workflow

jjamet
Champ in-the-making
Champ in-the-making
Hi,

I created an aikau widget who manage aspects for a file (a picker on a dialog).
Now I want to integrate this widget to a custom workflow, more precisely on a "packageItems".

I don't know where to start to do this,

Is there a way to directly integrate a aikau widget in a custom worklfow, or I need to create my own workflow manager in a custom page?

Thanks in advance,
Jason.

Sorry for my bad english.
1 REPLY 1

ddraper
World-Class Innovator
World-Class Innovator
FYI… Manage aspects is now supported OOTB in recent versions of Aikau. There is a "alfresco/services/actions/ManageAspectsService" which you can configure with lists of available/addable/removable aspects (which you could source from your Share configuration). You can then publish the "ALF_MANAGE_ASPECTS_REQUEST" topic with the details of a node and it will display the manage aspects dialog (you'll also need to make sure that you have the "alfresco/services/DialogService" on the page as well).

See https://github.com/Alfresco/Aikau/blob/master/aikau/src/test/resources/testApp/WEB-INF/classes/alfre... for the unit test example (which use mock data, but demonstrates a simple setup).