legacy-knowledge-base
Publicado Jul. 25, 2002

Keeping 'Location' type organization when upgrading to DXP 7.0+

written-by

Katlyn Lee

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • In DXP 7.0+ the location organization type is removed by default. When upgrading to DXP 7.0+, organizations that were categorized as a 'Location' lose this categorization during the upgrade process. 

Environment

  • Environment upgrading to DXP 7.0+

Resolution

  • Before running the DB Upgrade Tool, edit the portal-upgrade-ext.properties file (found in file path: /tools/portal-tools-db-upgrade-client) and add the following property inside the file:
    organizations.types=organization,location
    • Note: When running the Upgrade in DXP 7.1+, you will see an error like the following:
      ERROR [main][VerifyProperties:169] Portal property "organizations.types" is obsolete
      This warning is expected and simply indicates that this property should not be used to configure the organization type in Liferay DXP 7.1+. See below for steps to configure the organization type through System Settings.

  • After the Upgrade, configure the location organization type in your portal through the following:

In DXP 7.0 

    • Add new organization types through portal properties following the instructions in this documentation.

In DXP 7.1+ 

    • Add new organization types through System Settings following the instructions in this documentation. 

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base