留言板
How to get organization phone numbers
George Rempousis,修改在11 年前。
How to get organization phone numbers
New Member 帖子: 7 加入日期: 13-1-28 最近的帖子
Hi,
I'm new to Liferay and I'm trying to get the organization information from an organization object, on velocity
I can get the address/addresses with the $org.getAddress() / $org.getAddresses()
but I cannot find a method in the organization object that returns phone numbers.
Is there some way I can retieve them?
Thanks
I'm new to Liferay and I'm trying to get the organization information from an organization object, on velocity
I can get the address/addresses with the $org.getAddress() / $org.getAddresses()
but I cannot find a method in the organization object that returns phone numbers.
Is there some way I can retieve them?
Thanks
Gnaniyar Zubair,修改在11 年前。
RE: How to get organization phone numbers (答复)
Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
Hi,
You cannot get the phone number details from organization object. It is stored in Phone model.
So Please use this :
HTH
- Gnaniyar Zubair
You cannot get the phone number details from organization object. It is stored in Phone model.
So Please use this :
PhoneLocalServiceUtil.getPhones(companyId,"com.liferay.portal.model.Organization",organizationId);
HTH
- Gnaniyar Zubair
George Rempousis,修改在11 年前。
RE: How to get organization phone numbers
New Member 帖子: 7 加入日期: 13-1-28 最近的帖子
Thanks that worked perfectly.