Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Unable to Update External Object Metadata Card

Last updated on 9 December 2024

Admin
Connections to External Databases (Integrated)

Overview

In the M-Files Client, when attempting to update the metadata card of an object that comes from an external source (Salesforce, Network Folder, etc.), you may be unable to save the change and an error will appear, similar to:

<MetadataEditor>, -, Updating the external database failed. (0x800400CD)

…

MFiles.SalesforceCRM.SalesforceCRMDataSource: [MFiles.SalesforceCRM.SalesforceDao.CheckUpdateConflicts(String objectType, String extID, IList`1 values, IList`1 previousValues)], , The object has changed in the external location since the last update. Refresh the data source and try again. (0x80131500)

Solution

In the most common case, the error is straightforward - it means that the external source has a newer version than the one the user edited, so it must be refreshed first: https://userguide.m-files.com/user-guide/latest/eng/refreshing_external_value_lists_and_object_types.html. When an external object is being checked in, M-Files first compares the data the external (i.e., original) source has, and if it does not match the version that the user started editing, this error is shown. If we allow editing of such old versions, you may have data integrity issues.

If refreshing the external object does not help, read onward.

Automatic values must not be used for the properties coming from the external source, doing so can cause the external object refresh to desynchronize and cause errors, unwanted data loops and data integrity issues. Any sort of property automation must be done on the master database (e.g., Salesforce, database, etc.) and then synced to M-Files. You can read more about this behavior here.

In M-Files Admin, ensure that there are no automatic values on any external object properties. Be sure to check Workflows, event handlers, Compliance Kit configurations and other applications, as these can also create automatic property calculations.

Still need help?

On this page