In the version 2.3 you can activate the auto-closing of page on setting a workstate.
The functionality is disabled by default.
Defining workstates to auto-close a page in EditorialConfig
Add to the EditorialConfig the following lines, replacing the ---- with the ID of the related page workstate for the statuses New, Edit and Layout.
<Item Name="glbWSReadyClosePrintPage" Value="----" />
Example:
<Item Name="glbWSReadyClosePrintPage" Value="3945" />
Note: the above ID is related to a specific system and won't work on your system. Put the IDs related to the workstates on your system!
Enabling auto-action
The action is enabled on setting the glbWSReadyClosePrintPage to a value different than 0.
How it works?
The modified script ChangePageWorkstateDialog v2 handles now the auto-closing of page.
When setting the workstate with id as specified in glbWSReadyClosePrintPage: You are prompted to confirm the closing of the page. In future, this will be updated to handle also the printing of page.
See also