Blogs

Blogs

To add custom organizations in Liferay 6.2

There may be a requirement to add custom organizations instead of Regular Organization & Location.

To acheive this we need to add the below properties in portal.ext.properties

## For add custom organizations

organizations.types=regular-organization,location,custom-organization

organizations.rootable[regular-organization]=true

organizations.rootable[custom-organization]=true

organizations.children.types[regular-organization]=regular-organization,location,custom-organization

 

then restart the server

Login as Admin and Control Pannel -> Users and Organizations

Click on  'Type' drop down we can find a new organization as 'custom-organization'.

 

1
Blogs
Hi Om,
Is there any property to hide child organizations options in add organization button while creating root organization?

Child organization whose rootable property is 'false' should not display while creating root organization.
Right now It displays error message while creating child organization without selecting parent organization.

I have requirement to display child organization options specific to parent organizations. It may be vary from organization to organization.