Difference between revisions of "Migration from 4.0 to 4.1"

From OpenKM Documentation
Jump to: navigation, search
Line 19: Line 19:
 
| 2  || TEXT_AREA    || <textarea 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>
+
| 3  || SELECT      || <select label="xxx" name="okp:yyy" type="simple"><br/>&nbsp;&nbsp;&nbsp;&nbsp;<option label="xxx" value="yyy" /><br/>&nbsp;&nbsp;&nbsp;&nbsp;...<br/></select>
 
|-
 
|-
| 4  || SELECT_MULTI || <select label="xxx" name="okp:yyy" type="multiple"><option label="xxx" value="yyy" />...</select>
+
| 4  || SELECT_MULTI || <select label="xxx" name="okp:yyy" type="multiple"><br/>&nbsp;&nbsp;&nbsp;&nbsp;<option label="xxx" value="yyy" /><br/>&nbsp;&nbsp;&nbsp;&nbsp;...<br/></select>
 
|}
 
|}
  

Revision as of 10:46, 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.