<-- Back

Recovering a previous constant value after changing in Mendix Cloud

Issue

A constant value in the environment configuration of a Mendix Cloud environment was accidentally changed. After the change, there was a need to recover the previous value because application functionality depended on it, and the overwritten value was no longer available.

Environment

Applications hosted in Mendix Cloud

Cause

Constant values are part of the environment configuration of a Mendix Cloud environment. When a constant value is edited and saved, the new value overwrites the previous one, and no history of previous values is kept in the Mendix Portal. As a result, an overwritten constant value cannot be viewed, recovered, or restored after it has been replaced.

Solution/Workaround

Previous values of environment configuration constants are not stored and cannot be restored by Mendix Support. If the old key is not available from the customer's own records (for example, a password manager, documentation, or a deployment package configuration), the affected configuration has to be re-entered. Proceed as follows:

  • Check whether the original constant value is documented elsewhere, such as in a password manager, deployment documentation, a configuration management system, source control documentation, or another environment that uses the same value.
  • If the original value is found, restore it in the environment configuration and restart the environment if required by the application.
  • If the original value cannot be recovered, determine the impact of the change and manually reconfigure any application settings, integrations, credentials, or other functionality that depend on that constant.
  • Store critical constant values securely and maintain a documented backup process to prevent future loss of configuration data.

Internal information related

  • 288500

Additional information

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.