Global variables for page workstate auto-actions

Build 1501 on 14/Nov/2017  This topic last edited on: 16/Feb/2016, at 18:20

You can put the following variables within the <Dict> node of the EditorialConfig configuration file. For instructions, see Adding or overriding variables in your EditorialConfig.

Find the actual values of such variables in EditorialConfig item in EdAdmin4, the Application Configuration > Client Applications, searching for EditorialConfig. The data is common for all titles in the system.

Should you need to specify different values of variables for different typographies, look for instructions at the Typography-dependent overridable variables.

Variable

Type

Default value

Comment

glbWSAutoActions

Boolean

False

Enabler of auto-actions

glbWSEditZoomPage

integer

-1

id of the workstate on which to zoom page to view, used by ChangePageWorkstateDialog

glbWSReadyClosePrintPage

integer

0

id of the workstate on which to close the page, used by ChangePageWorkstateDialog

glbWSPrintPage

integer

0

id of the workstate on which to print page, used by ChangePageWorkstateDialog

glbAAPageWSNew

integer

0

id of the New workstate that has to turn into glbAAPageWSEdit id when opening a page

glbAAPageWSEdit

integer

0

id of the Edit workstate that has to turn into glbAAPageWSNew when closing an empty page

glbAAPageWSLayout

integer

0

id of the Layout workstate that has to turn into when saving a non empty page

An example of the variables to enable, zoom, close or print page on the workstate change:

<Item Name="glbWSAutoActions" Value="true" />

<Item Name="glbWSEditZoomPage" Value="3946" />

<Item Name="glbWSReadyClosePrintPage" Value="3945" />

<Item Name="glbWSPrintPage" Value="181700" />

An example of the variables to change workstate on opening, closing and saving pages:

<Item Name="glbAAPageWSNew" Value="116625" />

<Item Name="glbAAPageWSEdit" Value="3946" />

<Item Name="glbAAPageWSLayout" Value="15762" />