掲示板

Service Builder and multi-language text fields

thumbnail
12年前 に Yari Podio によって更新されました。

Service Builder and multi-language text fields

Junior Member 投稿: 36 参加年月日: 11/03/24 最新の投稿
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
12年前 に Samuel Kong によって更新されました。

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

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
Yes, in your service.xml, add localized="true" and rebuild your service. Example:

<column name="title" type="String" localized="true"/>
thumbnail
12年前 に Yari Podio によって更新されました。

RE: Service Builder and multi-language text fields

Junior Member 投稿: 36 参加年月日: 11/03/24 最新の投稿
Ok thank you!
11年前 に Mohamed Rizwanuzaman によって更新されました。

RE: Service Builder and multi-language text fields

New Member 投稿: 20 参加年月日: 09/12/17 最新の投稿
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