Migrating Group Assignment changes from Sandbox to Production
Refresh your sandbox
Before you begin, you should ensure the sandbox you will be migrating to has been recently refreshed. For details on creating or refreshing a sandbox, see the article: How To Create and Refresh a sandbox.
Configure Target Org
- Login to your production Org where you want to migrate Group Assignment.
- Navigate to Setup and search for App Manager.
- Select New Connected App.
- Enter a name for the Connected App Name - such as 'Group Assignments production' as your name. The API name will default based on the app name you choose.
- Use your CRM Administrator's email address for the Contact Email.
- Under API (Enable OAuth Settings), check the Enable OAuth Settings checkbox.
- Set the Callback URL to:
https://login.salesforce.com/services/oauth2/callback
- From the Available OAuth Scopes list, select Full Access and Add.
- Save your changes.
- Copy the Consumer Secret and Consumer Key for later use.
Configure Source Org
- Login to your sandbox Org where you've changed Group Assignment.
- You're going to create three remote sites using the criteria listed in each table below:
- Navigate to Setup, then search for Remote Site Settings.
- Select New Remote Site.
Notes for clients using MYDOMAIN:
- Your production URL may look different than the examples listed.
- Additional remote sites may be needed and will be included in errors received during Refresh.
Remote Site Name |
Remote Site URL |
---|---|
AuthenticationSite |
https://login.salesforce.com |
GAS_Prod |
Copy and paste your production org's URL here. (For example https://na46.salesforce.com) |
GAS_ProdVF |
Use the following, replacing the xxxx with your Target Org's node number: https://targetx-base.xxxx.visual.force.com |
Configure Custom Settings
- In your sandbox Org (Source Org), navigate to Setup and search for Custom Settings.
- Select the Manage link for Remote Connections.
- Select New.
- Enter a Name for the production Org (Target Org), such as GAS_prod
- Copy the Consumer Secret from your Target configuration into Client Secret.
- Copy the Consumer Key from your Target configuration into Client id.
- Set the Login URL to:
https://login.salesforce.com
- Save your changes.
For clients using Government Cloud: If your institution uses Government Cloud, update the 'https://login.salesforce.com' to your 'my domain' org URL.
Important: If you make changes to remote sites, you will need to EXIT the TargetX Builder and reopen it in order to successfully migrate Group Assignments.
Notes about Remote Site Settings:
- In Sandboxes, Remote Site settings will need to be recreated after a sandbox refresh.
- If Remote Site Settings are incorrect or missing, users will receive an error about an Unauthorized endpoint.
After finishing the above steps, you'll want to validate the Group Assignment migration before you deploy/publish.