User Tools

Site Tools


donor360:creating_or_refreshing_a_sandbox

Creating or Refreshing a Sandbox

Overview

This section will show you how to auto-update email addresses of Contacts and Affiliation records to append '.invalid' to all email addresses in your newly created or refreshed sandbox. This will ensure unintended emails are not sent to contacts during testing processes. Be sure to also adjust Email Deliverability in Setup.

Apex Class

The Apex classes can be invoked via the following within the Developer Console > Execute Anonymous Apex.

fdnp_cf1.SetEmailToInvalidDuringSBRefresh refresh = new fdnp_cf1.SetEmailToInvalidDuringSBRefresh(); refresh.runApexClass(null);

Sandbox Create or Refresh

The class can also be specified when initiating a sandbox creation or refresh to automatically execute the class after the sandbox is created.

donor360/creating_or_refreshing_a_sandbox.txt · Last modified: by judy.otto