Forums de discussion

Creation of Portal Instances Programtically

venka reddy, modifié il y a 10 années.

Creation of Portal Instances Programtically

Regular Member Publications: 231 Date d'inscription: 23/03/11 Publications récentes
Hi,

have anybody tried to create Portal instances Pragmatically?
thumbnail
Sandeep Nair, modifié il y a 10 années.

RE: Creation of Portal Instances Programtically

Liferay Legend Publications: 1744 Date d'inscription: 06/11/08 Publications récentes
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, modifié il y a 10 années.

RE: Creation of Portal Instances Programtically

Regular Member Publications: 231 Date d'inscription: 23/03/11 Publications récentes
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?