Foros de discusión
How to get organization phone numbers
George Rempousis, modificado hace 11 años.
How to get organization phone numbers
New Member Mensajes: 7 Fecha de incorporación: 28/01/13 Mensajes recientes
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, modificado hace 11 años.
RE: How to get organization phone numbers (Respuesta)
Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
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, modificado hace 11 años.
RE: How to get organization phone numbers
New Member Mensajes: 7 Fecha de incorporación: 28/01/13 Mensajes recientes
Thanks that worked perfectly.