Difference between revisions of "Migration from 4.0 to 4.1"
From OpenKM Documentation
Line 13: | Line 13: | ||
{| align="center" border="1" cellpadding="5" cellspacing="0" | {| align="center" border="1" cellpadding="5" cellspacing="0" | ||
− | |||
! Id || Code || XML | ! Id || Code || XML | ||
|- | |- |
Revision as of 09:32, 23 April 2010
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.
You don't have to register your Property Groups again. |