Fórumok

Getting organization and Related sites

thumbnail
guru prasad, módosítva 11 év-val korábban

Getting organization and Related sites

New Member Bejegyzések: 15 Csatlakozás dátuma: 2012.01.30. Legújabb bejegyzések
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
thumbnail
Subhash Pavuskar, módosítva 11 év-val korábban

RE: Getting organization and Related sites

Regular Member Bejegyzések: 234 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
Hi guru prasad,

To get all organization below snippet may help you. Click Here

OrganizationLocalServiceUtil.getOrganizations(QueryUtil.ALL_POS,QueryUtil.ALL_POS)