Various editing of exported XML files may be needed before they can be imported to GN4 database.
In particular:
•GN3 attribute names that do not exist in GN4 or cannot be ported with the same name: in that case, you may want to remove them or rename them.
•GN3 element types or attributes that have the same purpose as in GN4, but with different names: e.g. the GN3 element streamer corresponds to the GN4 element pullquote. In that case, you may want to rename GN4 element/attribute in exported file.
•GN3 element types that match GN4 element type names, but in different order: e.g. the GN3 element kicker may appear before element headline, while in GN4 it appears after. In that case, you may want to adjust exported XML files to match GN4 elements order
Have in mind that element type differences affect also typographical formats (if these are assigned to types), object libraries and scripts (where types may be called).
Simply saying: either search and replace, or XSL conversion during srv4 import (use -opt option). |
When you export a title related data from GN3, is exports as justScope=<titlename>, e.g. if the title name was TR, it is exported as justScope="TR". Now, in a new GN4 database, there is a default justScope "default". If you want to keep the "default" one, then import justScope "TR" as-is, and you will end up with two justScopes: default and TR. Otherwise, rename "default" to "TR" and then import: this will overwrite the properties of "default" scope with the imported properties of "TR". For a better procedure, see GN3ChangeTitle.xsl in Helper scripts. |
As folders are exported without permissions, you can add some default permissions to exported folders before importing them in GN4. Check for the appropriate format in C:\tera\GN4\main\config\Data\GN4Data.xml <securityAccess objectType="group"> <keyVal>Administrators</keyVal> <grant>all</grant> </securityAccess>
<folder name="Administrator"> <access> <securityAccess objectType="group"> <keyVal>Administrators</keyVal> <grant>all</grant> </securityAccess> <securityAccess objectType="group"> <keyVal>Everyone</keyVal> <!-- All users have RefReadNormal so that they can read published objects that are in the /system/users/Administrator folder Explicitely deny ReadNormal to get rid of the ReadNormal coming from RefReadNormal in /system/users
--> <deny>ReadNormal</deny> <grant>RefReadNormal</grant> </securityAccess> </access> <folderParent> <keyVal>/system/users</keyVal> </folderParent> </folder> For a better procedure, see GN3ChangeTitle.xsl in Helper scripts. |
The paths of exported image elements may be potentially inaccessible to a GN4 server on which you are importing XML files. In that case, you will have to adjust paths so GN4 can access to high-res files to be able to copy them in GN4 volume folders. |