Creating custom dialogs
For the moment, the manager handling operational documents seems pretty satisfied by the solution that we implemented. We can work and satisfy another manager. If you remember our work on Whitepapers, we create two actions to enable and disable the Web flag. Each UI action calls the same action that we defined in the repository. Moreover, when we enable the Web flag, we update automatically the publish date with the current date. We want to improve this behavior. We want to be able to set the Web flag to true and to specify when should be the publish date. This feature will be very useful to plan the publication of the Whitepapers.
In this section, we'll:
Update the Alfresco action to receive the publication date as parameter;
Create a new form in Alfresco Share with an input field for the publication date;
Update the action definition in Alfresco Share to use the new form.
Step-by-step - creating a dialog to publish Whitepapers
To develop the custom dialog, follow these...