Changes in Gn4 (version 1.4)
Modify the XSL stylesheet used for the preview, in order to include in the article xml also the GN4Id:
<tera.gn3article xmlns="">
<xsl:attribute name="GN4Id">
<xsl:value-of select="fn:objectIdFromString($obj/@id)" />
</xsl:attribute>
<UserName>...
See the standard xsl_tognweb.xslt in the standard GN4 configuration.
In GNWeb
1. Minimum addons version is the GNWeb 6.0 HotFix_60_14.1.
2. Modify the transformation code in the webparts used in the preview pages, so that the container of the content includes the GN4Id:
<div class="section_column" style="position:relative;" gn4id="<%# Eval("Gn3EditorialKey") %>">