Behavior of copying articles and images since 2.0

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 18:49

Since GN4 version 2.0, there is a way to modify the default behavior related to the content, when copying articles and images. In previous versions, the copying of a page will copy the content of the articles and images, so the copied page will be identical as the original page. Now, you can choose on the system level if GN4 on the copied page should automatically clear all text content and convert images to dummy.

Two new global variables are available for the default system configuration: glbAllDummyImages and glbClearTexts that you can optionally define in the <Dict> section of the EditorialConfig. For the instructions on how to edit the EditorialConfig, see Edit EditorialConfig.

If you don't add to the EditorialConfig the lines related to the glbAllDummyImages and glbClearTexts, the copying of a page will copy the content of the articles and images, so the copied page will be identical as the original page. This is compatible with the behavior of the software in versions 1.6 or previous.

If the EditorialConfig contains the lines related to the glbAllDummyImages and glbClearTexts, and both are set to True or to -1, the copying of a page will NOT copy the content of the articles and images, so the copied page will have the same shapes as the original page, but the articles will be empty - the text content will be deleted, and the images will become dummy images. This is NOT compatible with the behavior of the software in versions 1.6 or previous.

Example:

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

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

If the EditorialConfig contains the lines related to the glbAllDummyImages and glbClearTexts, and both are set to False or to 0, the copying of a page will copy the content of the articles and images, so the copied page will be identical as the original page. This is compatible with the behavior of the software in versions 1.6 or previous.

Example:

    <Item Name="glbAllDummyImages" Value="false" />

    <Item Name="glbClearTexts" Value="false" />

See also

Global variables for pages copying