Foren
Migrate user custom fields from instance to instance
avasek atok, geändert vor 8 Jahren.
Migrate user custom fields from instance to instance
Junior Member Beiträge: 41 Beitrittsdatum: 09.01.15 Neueste Beiträge
Hi - I have created a new instance ( in liferay. Into this new instance i have exported and imported a site which exists in a different instance (A) in the same liferay installation.
I have configured LDAP into the instance B and imported all users from central LDAP into this instance.
Now i have to migrate the user custom fields/preferences which are user specific of old site in instance A to new site in instance B.
Is there a pre-defined way to achieve this migration.
Please suggest
I have configured LDAP into the instance B and imported all users from central LDAP into this instance.
Now i have to migrate the user custom fields/preferences which are user specific of old site in instance A to new site in instance B.
Is there a pre-defined way to achieve this migration.
Please suggest
Olaf Kock, geändert vor 8 Jahren.
RE: Migrate user custom fields from instance to instance
Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
No, you'll have to do them again. However, I'm recommending to only create them manually for testing purposes and rather write a plugin (hook) that you deploy on all systems. This plugin should create custom fields through the API (Expando*). If you do this, you'll never need to worry about typos in the custom fields - just deploy the same hook on all your systems and you can be sure that they're configured the way you need it. If you need more: Update the plugin.