A series of variables is used to manage copying of pages from page books or from normal editions. Each variable comes in a pair of glbBxxxxx (used when the source is a page book) and glbExxxx (used when the source is a normal edition).
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 |
Comment |
Default value |
glbBDefCopyFolder |
String
|
default target folder when copying from book. The system checks if there's a default folder on the section level, and uses that one; if unspecified, looks if there's one in the Description field of the section (left for compatibility); if both are unspecified, uses this value. Add the line: <Item Name="glbBDefCopyFolder" Value="/Pub01/Features/Edit" /> |
empty string
|
glbBIfStartsWith |
if name "starts" with string (page book) Possibility: %BP, in that case, the first article name, linked to a source page is parsed for a prefix ending with an underscore character, and the found string is considered to be a book prefix, therefore, it will be replaced with value of glbBReplaceStartsWith Add the line: <Item Name="glbBIfStartsWith" Value="%BP" /> |
||
glbBReplaceStartsWith |
replace the value of glbBIfStartsWith string (page book) |
||
glbBIfContains |
if name "contains" string (page book) |
||
glbBReplaceContains |
replace the value of glbBIfContains string (page book) |
||
glbBIfEndsWith |
if name "ends" with string (page book) |
||
glbBReplaceEndsWith |
replace the value of glbBIfEndsWith string (page book) |
||
glbBNameDelimiter |
default name delimiter (page book) |
"_" underscore character |
|
glbBPrefix |
article name prefix string (page book) |
empty string |
|
glbBSuffix |
article name suffix string (page book) |
||
glbEDefCopyFolder |
not used |
||
glbEIfStartsWith |
if name "starts" with string (editions) possibilities: %BP=book prefix |
||
glbEReplaceStartsWith |
replace "starts" string (editions) |
||
glbEIfContains |
if name "contains" string (editions) |
||
glbEReplaceContains |
replace "contains" string (editions) |
||
glbEIfEndsWith |
if name "ends" with string (editions) |
||
glbEReplaceEndsWith |
replace "ends" string (editions) |
||
glbEPrefix |
article name prefix string (editions) Possibilities: "%E1,4/_/%S1,2/_P/%P1,2" |
||
glbESuffix |
article name suffix string (editions) |
||
glbAllDummyImages (2.0 or newer) |
Boolean
|
If True, converts the copied images to dummy images. Add the line: <Item Name="glbAllDummyImages" Value="true" /> |
false |
glbClearTexts (2.0 or newer) |
If True, empties the content of the copied articles. Add the line: <Item Name="glbClearTexts" Value="true" /> |
false |
|
glbAlwaysShowCopyPageDlg (2.0 or newer) |
If True, the article copy dialog box is always displayed, otherwise it is displayed only if you hold SHIFT+CTRL pressed. Add the line: <Item Name="glbAlwaysShowCopyPageDlg" Value="true" /> |
false |
|
glbCopyAdsLayers (2.4 or newer)
|
If True, the ads layers are always copied. If you want to skip ads layers, add the line: <Item Name="glbCopyAdsLayers" Value="false" /> |
True |
|
glbCopyLockedLayers (2.4 or newer)
|
If True, the locked layers are always copied. If you want to skip locked layers, add the bellow line: <Item Name="glbCopyLockedLayers" Value="false" /> |
True |
|
glbPromptCopyLayers (2.4 or newer)
|
If True, the dialog appears during copying of page, and prompts you to enable/disable copying of ads and locked layers. If you want to display dialog, add the bellow line: <Item Name="glbPromptCopyLayers" Value="true" /> |
False |
|
glbMergeCopyPage |
If True, the OnDrop script calls CopyPage with "merge" parameter. If you want to avoid merge, add the bellow line: <Item Name="glbMergeCopyPage" Value="false" /> |
True |