Portal Developer Properties

There are Portal Properties that facilitate development. Liferay’s portal-developer.properties file includes all of them. The portal-developer.properties file is enabled by adding this setting to the top of your portal-ext.properties file:

include-and-override=portal-developer.properties

Developer Settings

Developer SettingDescription
schema.module.build.auto.upgrade=trueAutomatically upgrades the database when a module’s build number has been increased since the last deployment.
upgrade.database.auto.run=trueExecutes the upgrade process when the portal starts and modules are activated.
theme.css.fast.load=falseDisables merging the theme’s CSS files to facilitate debugging.
theme.css.fast.load.check.request.parameter=trueAllows enabling and disabling merging the theme’s CSS files through a request parameter.
theme.images.fast.load=falseDisables merging the theme’s image files to facilitate debugging.
theme.images.fast.load.check.request.parameter=trueAllows enabling and disabling merging the theme’s image files through a request parameter.
enterprise.product.notification.enabled=falseDisables the Enterprise Search terms of use pop-up that occurs on the first login.
javascript.fast.load=trueDisables loading the packed version of files listed in the properties Liferay-JS-Resources-Top-Head and/or Liferay-JS-Resources-Top-Head-Authenticated of OSGi bundles’ manifest files.
javascript.log.enabled=falseDisables the display of JavaScript logging.
company.security.strangers.verify=falseAllows creation of accounts without email verification.
access.control.sanitize.security.exception=falseDisables sanitizing exceptions thrown by AccessControlAdvisorImpl to display more information when a remote access invocation is denied.
layout.template.cache.enabled=falseDisables caching layout template content.
browser.launcher.url=Disables launching a browser automatically when the portal is fully initialized.
combo.check.timestamp=trueFacilitates debugging by disabling the combo servlet. See the combo.check.timestamp definition for more information.
cors.disable.authorization.context.check=trueAllows CORS without a guest security context or client authorized using OAuth 2.0.
direct.servlet.context.reload=trueAutomatically refreshes the servlet associated with a JSP when the JSP has been modified.
feature.flag.ui.visible[dev]=trueEnables accessing the UI for developer feature flags. See Beta Features and Feature Flags for more information.
initial.system.check.enabled=trueRuns system:check on startup.
json.service.serialize.throwable=trueReturns information about server errors in the JSON response.
minifier.enabled=falseEnables minification of CSS and JavaScript resources.
module.framework.properties.osgi.console=localhost:11311Enables console access for debugging modules.
work.dir.override.enabled=trueAllows using the Liferay work directory to override JSP files within a deployed OSGi bundle.
com.liferay.portal.servlet.filters.etag.ETagFilter=falseEnables the ETag filter that generates ETag headers.
com.liferay.portal.servlet.filters.header.HeaderFilter=falseEnables the header filter that sets request headers.
com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter=trueEnables the theme preview filter that generates a preview of the currently applied theme which can be used by the Dreamweaver Theming plugin.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy