Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
guru prasad
Getting organization and Related sites
February 25, 2013 1:48 AM
Answer

guru prasad

Rank: New Member

Posts: 11

Join Date: January 29, 2012

Recent Posts

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
Subhash Pavuskar
RE: Getting organization and Related sites
February 25, 2013 3:54 AM
Answer

Subhash Pavuskar

Rank: Regular Member

Posts: 234

Join Date: March 12, 2012

Recent Posts

Hi guru prasad,

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

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