I cannot save Instance Settings after changing the default web ID
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
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- I added the following property to the portal-ext.properties file:
#
# This sets the default web ID. Omniadmin users must belong to the company
# with this web ID.
#
# Env: LIFERAY_COMPANY_PERIOD_DEFAULT_PERIOD_WEB_PERIOD_ID
#
company.default.web.id=company.com
- After doing this, I cannot save the changes to the Instance Settings.
- The UI shows the error:
Error: Your request failed to complete.
- There are no errors in the logs.
Environment
- Liferay DXP 7.2
-
Liferay DXP 7.3
Resolution
- The property
company.default.web.id will allow you to set the default Web ID on the first launch.
- After the initial startup, the Web ID is not designed to be changed in the future, as it is set to the company at this point.
- Please comment this property, the default value is
liferay.com.
- Or set the property to the correct value.
Did this article resolve your issue ?