Foros de discusión

Service Builder and multi-language text fields

thumbnail
Yari Podio, modificado hace 12 años.

Service Builder and multi-language text fields

Junior Member Mensajes: 36 Fecha de incorporación: 24/03/11 Mensajes recientes
Hello,

I want to know if it is possible to create multi-language text fields in the custom tables built with Service Builder.
If it's not possible, then what are the best practices to deal with multi-language fields in custom tables under Liferay?

Thank you!
thumbnail
Samuel Kong, modificado hace 12 años.

RE: Service Builder and multi-language text fields (Respuesta)

Liferay Legend Mensajes: 1902 Fecha de incorporación: 10/03/08 Mensajes recientes
Yes, in your service.xml, add localized="true" and rebuild your service. Example:

<column name="title" type="String" localized="true"/>
thumbnail
Yari Podio, modificado hace 12 años.

RE: Service Builder and multi-language text fields

Junior Member Mensajes: 36 Fecha de incorporación: 24/03/11 Mensajes recientes
Ok thank you!
Mohamed Rizwanuzaman, modificado hace 11 años.

RE: Service Builder and multi-language text fields

New Member Mensajes: 20 Fecha de incorporación: 17/12/09 Mensajes recientes
Hi samuel,

I used the localized="true" in service.xml. and adding the data is successfully happening ,but the issue is if we deleting the record using localserviceutil its deleting only the content not the whole record. Still the record exist only the content which localized enable is deleted.
Please help me to resolve this.

Regards,
Rizwan