Foros de discusión

Migrate user custom fields from instance to instance

avasek atok, modificado hace 8 años.

Migrate user custom fields from instance to instance

Junior Member Mensajes: 41 Fecha de incorporación: 9/01/15 Mensajes recientes
Hi - I have created a new instance (emoticon 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
thumbnail
Olaf Kock, modificado hace 8 años.

RE: Migrate user custom fields from instance to instance

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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.