Foros de discusión
Getting organization and Related sites
guru prasad, modificado hace 11 años.
Getting organization and Related sites
New Member Mensajes: 15 Fecha de incorporación: 30/01/12 Mensajes recientes
Hi experts,
I have created organization called customer1
and i added two communities (sites in liferay 6.1) called product1 and product2
Similarly i will have different customer . the customer will have again products
In one of my jsp i need to retrieve all the organization along with their sites
like example :
customer1-product1
customer1-product2
customer2-product1
customer2-product3
How i will do this ?
How i will retrieve this relation in my jsp
I have created organization called customer1
and i added two communities (sites in liferay 6.1) called product1 and product2
Similarly i will have different customer . the customer will have again products
In one of my jsp i need to retrieve all the organization along with their sites
like example :
customer1-product1
customer1-product2
customer2-product1
customer2-product3
How i will do this ?
How i will retrieve this relation in my jsp
Subhash Pavuskar, modificado hace 11 años.
RE: Getting organization and Related sites
Regular Member Mensajes: 234 Fecha de incorporación: 13/03/12 Mensajes recientes
Hi guru prasad,
To get all organization below snippet may help you. Click Here
To get all organization below snippet may help you. Click Here
OrganizationLocalServiceUtil.getOrganizations(QueryUtil.ALL_POS,QueryUtil.ALL_POS)