CRMJettyBack to crmjetty.com
Menu

Salesforce

Introduction

Hosting and deployment

Account and billing

Connect your CRM

Payments

Widgets

Admin and dashboards

Portal users

Email and notifications

Forms

Lists

Pages

Roles and permissions

Branding and navigation

Workflows

Support and knowledge base

Languages

Login and security

CRM connection and sync

Integrations and AI

More

Docs / Salesforce

Salesforce Customer Portalv6.3.0

Guides / CRM connection and sync

How to Create a Salesforce Sandbox for Portal Testing

3 min readUpdated
Short answerIn Salesforce Setup, search for Sandboxes, select New Sandbox, enter a short name and description, choose the sandbox type and the data to copy, and select Create. Then connect the portal to the sandbox instead of your live org.

A Salesforce sandbox is a copy of your org for development and testing. Connect the portal to a sandbox to try out pages, forms, roles and workflows without affecting live data. When everything works, switch the portal to your live org.

Before you start

Create the sandbox in Salesforce

  1. In Salesforce, open Setup.

  2. In the Quick Find box, enter Sandboxes, then select Sandboxes.

  3. Select New Sandbox.

  4. Enter a name of 10 characters or fewer, and a description.

  5. Select the type of sandbox you want.

  6. For a Partial Copy or Full sandbox, select Next and choose the data to include (see the table below).

  7. Optional: to run scripts after each create and refresh, specify the Apex class you created from the SandboxPostCopy interface.

  8. Select Create.

Tip: Choose a short name that reflects the sandbox’s purpose, such as QA. Salesforce appends the sandbox name to usernames in the sandbox, so a short name makes sandbox logins easier to type.

Choose the data to copy

Sandbox type What to select
Partial Copy The sandbox template you created to specify the data for this sandbox.
Full, template-based data An existing sandbox template.
Full, all data Whether and how much field tracking history to include, and whether to copy Chatter data (feeds, messages and topics).

Copying less data can make the sandbox copy much faster.

Note: If you reduce the number of sandboxes you buy, the sandboxes you have must match the number you bought. For example, if you have two Full sandboxes but bought only one, you can’t create a Full sandbox. Convert a Full sandbox to a smaller type, such as Developer Pro or Developer, instead.

Prepare the sandbox for the portal

Connect the portal to the sandbox

  1. In the portal admin, go to Settings → Portal Settings → CRM Authentication.
  2. Enter the OTP sent to the super admin’s registered email address.
  3. In Environment, select Sandbox.
  4. Enter the connection details for your sandbox org.
  5. Select Save.

For the full steps, see How to Switch the Portal Between Sandbox and Live CRM.

Note: When you connect the portal to a different org, you can preserve or reset the existing portal data. See How to Preserve or Reset Portal Data After Reconnecting before you switch.

Did this solve it?No, contact support