Difference between revisions of "Migration from 4.0 to 4.1"

From OpenKM Documentation
Jump to: navigation, search
Line 2: Line 2:
  
 
* Stop the JBoss server.
 
* Stop the JBoss server.
 +
 
* Make a backup of your current repository and configuration files... because Murphy's laws :)
 
* Make a backup of your current repository and configuration files... because Murphy's laws :)
 +
 
* Rename your my_groups.cnd (perhaps you file has other name, but the extension should be .cnd) to PropertyGroups.cnd
 
* Rename your my_groups.cnd (perhaps you file has other name, but the extension should be .cnd) to PropertyGroups.cnd
* Remember that in OpenKM 4.0 the Property Groups definitions was splitted in two files: the metadata description and the translations. Create a file PropertyGroups.xml which contents should be the combination of old PropertyGroupValues.properties (metadata description) and PropertyGroupsBundle.properties (translations) in the new XML-based format. Refer to [Property Groups] for more info on this format.
+
 
 +
* Remember that in OpenKM 4.0 the Property Groups definitions was splitted in two files: the metadata description and the translations. Create a file PropertyGroups.xml which contents should be the combination of old PropertyGroupValues.properties  
 +
(metadata description) and PropertyGroupsBundle.properties (translations) in the new XML-based format. Refer to [Property Groups] for more info on this format.
 +
 
 +
* These are the equivalences:
 +
 
 +
{| align="center" border="1" cellpadding="5" cellspacing="0"
 +
! Id || Code        || XML
 +
|-
 +
| 1  || INPUT        || <input label="xxx" name="okp:yyy" />
 +
|-
 +
| 2  || TEXT_AREA    || <textarea label="xxx" name="okp:yyy" />
 +
|-
 +
| 3  || SELECT      || <select label="xxx" name="okp:yyy" type="simple"><option label="xxx" value="yyy" />...</select>
 +
|-
 +
| 4  || SELECT_MULTI || <select label="xxx" name="okp:yyy" type="multiple"><option label="xxx" value="yyy" />...</select>
 +
|}
 +
 
 
* Starts the JBoss server again.
 
* Starts the JBoss server again.
  

Revision as of 10:19, 23 April 2010


Nota advertencia.png This migration process is under revision, don't try until OpenKM 4.1 is released.

  • Stop the JBoss server.
  • Make a backup of your current repository and configuration files... because Murphy's laws :)
  • Rename your my_groups.cnd (perhaps you file has other name, but the extension should be .cnd) to PropertyGroups.cnd
  • Remember that in OpenKM 4.0 the Property Groups definitions was splitted in two files: the metadata description and the translations. Create a file PropertyGroups.xml which contents should be the combination of old PropertyGroupValues.properties

(metadata description) and PropertyGroupsBundle.properties (translations) in the new XML-based format. Refer to [Property Groups] for more info on this format.

  • These are the equivalences:
Id Code XML
1 INPUT <input label="xxx" name="okp:yyy" />
2 TEXT_AREA <textarea label="xxx" name="okp:yyy" />
3 SELECT <select label="xxx" name="okp:yyy" type="simple"><option label="xxx" value="yyy" />...</select>
4 SELECT_MULTI <select label="xxx" name="okp:yyy" type="multiple"><option label="xxx" value="yyy" />...</select>
  • Starts the JBoss server again.

Nota clasica.png You don't have to register your Property Groups again.