Difference between revisions of "Migration from 4.0 to 4.1"

From OpenKM Documentation
Jump to: navigation, search
Line 8: Line 8:
  
 
* 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  
 
* 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.
+
(metadata description) and PropertyGroupsBundle.properties (translations) in the new XML-based format. Refer to [[Property Groups definition]] for more info on this format.
  
 
* These are the equivalences:
 
* These are the equivalences:

Revision as of 09:36, 28 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 definition for more info on this format.

  • These are the equivalences:
Type XML
1 <input label="xxx" name="okp:yyy" />
2 <textarea label="xxx" name="okp:yyy" />
3 <select label="xxx" name="okp:yyy" type="simple">
    <option label="xxx" value="yyy" />
    ...
</select>
4 <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.