DC Setup - Custom Field error when linking Sandbox license

Last published at: 2023-07-11 12:29:30 UTC

Custom Field error when linking Sandbox license

When linking or having linked a sandbox to your Duplicate Check license, you might get an error stating

"Custom Field *** is configured in a scenario, but custom fields are not licensed."

To solve this, perform a hard license refresh in the Sandbox. Execute the following code in Developer Console > Debug > Open Execute Anonymous Window:

Database.executeBatch(new dupcheck.dc3LicenseBatch());