Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
venka reddy
Creation of Portal Instances Programtically
August 16, 2013 10:55 AM
Answer

venka reddy

Rank: Regular Member

Posts: 231

Join Date: March 23, 2011

Recent Posts

Hi,

have anybody tried to create Portal instances Pragmatically?
Sandeep Nair
RE: Creation of Portal Instances Programtically
August 16, 2013 12:00 PM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1692

Join Date: November 5, 2008

Recent Posts

Hi,

I havent created it but basically you can do the same thing what liferay does that is use CompanyServiceUtil to add the company. You can see the code in EditCompanyAction.

Regards,
Sandeep
venka reddy
RE: Creation of Portal Instances Programtically
August 17, 2013 3:20 AM
Answer

venka reddy

Rank: Regular Member

Posts: 231

Join Date: March 23, 2011

Recent Posts

Hi Sandeep,

Thanks for reply,

Yes, In EditInstanceAction class there is CompanyServiceUtil to add the instances also there is "PortalInstances.initCompany (-,-) "

I think PortalInstances class is in portal impl , So can we do this by plugin?