留言板

Custom Field Values as IFrame tokens?

thumbnail
L P Bharat,修改在12 年前。

Custom Field Values as IFrame tokens?

Junior Member 帖子: 39 加入日期: 08-8-20 最近的帖子
Hi,
I have few custom fields defined in liferay portal for "User" resource.
I want to pass the values associated with these fields as tokens to iframe portlet (similar to @user_id@ , @screen_name@ etc).

Is this possible? Please suggest.
thumbnail
Pankaj Kathiriya,修改在12 年前。

RE: Custom Field Values as IFrame tokens?

Liferay Master 帖子: 722 加入日期: 10-8-5 最近的帖子
Hi Bharat

You can override proxy.jsp of Iframe portlet by hook.

You can add your custom field here as hidden form parameters.

HTH,
Thanks,
Pankaj K.
thumbnail
Samir Gami,修改在12 年前。

RE: Custom Field Values as IFrame tokens?

Regular Member 帖子: 162 加入日期: 11-2-4 最近的帖子
Yes its possible,
I am agree with the pankaj, you can pass those information as hidden fields.

To get custom field value you can use Expando Services....