Liferay json api添加expando值

Liferay json api添加expando值,liferay,liferay-6,Liferay,Liferay 6,我正在尝试为我为一个组创建的自定义字段添加一个值。(或当前站点)。我收到一条消息,它需要一个int而不是字符串,如何在url中指定类型 localhost:8080/api/secure/jsonws/expandovalue/add value?companyId=10153&className=com.liferay.portal.model.Group&tableName=CUSTOM_FIELDS&columnName=UID&classPK=24049&data=130 我得到的例外情

我正在尝试为我为一个组创建的自定义字段添加一个值。(或当前站点)。我收到一条消息,它需要一个int而不是字符串,如何在url中指定类型

localhost:8080/api/secure/jsonws/expandovalue/add value?companyId=10153&className=com.liferay.portal.model.Group&tableName=CUSTOM_FIELDS&columnName=UID&classPK=24049&data=130

我得到的例外情况是: {“异常”:“com.liferay.portlet.expando.ValueDataException:列14911的类型为custom.field.int,与custom.field.java.lang.String类型不兼容”}

自定义字段的类型为32位整数


有什么想法吗?

你解决问题了吗?有什么想法吗?我过着类似的生活,但有一个日期数据类型。。。“列336的类型为custom.field.java.util.Date,与custom.field.java.lang.String”“exception”“类型不兼容:'com.liferay.portlet.expando.ValueDataException'