Configuring hard-coded Instance Setting properties in a Liferay SaaS environment

Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • Some properties that can normally be configured through an Instance Setting in a local Liferay DXP environment are hard-coded in a Liferay Saas environment.
    • One example is the Journal Article Maximum Version Count

Environment

  • Liferay SaaS
  • Liferay DXP 7.4

Resolution

  • In order to change these properties in a Liferay Saas cluster, you can set the corresponding property in the portal-env.properties file, which will then change the property for the Instance Setting.
    • The property will still be uneditable through the UI
    • For example, if you would like to change the Journal Article Maximum Version Count to 5, you can set the following property in the portal-env.properties file:
configuration.override.com.liferay.journal.configuration.JournalServiceConfiguration_journalArticleMaxVersionCount=I"5"
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0