Questions tagged [sandbox]

A sandbox is a copy of your production environment that can be used for various purposes such as development, testing, or training. The three types of sandboxes are developer, configuration-only (config-only), and full (full-copy). The login page for sandboxes is https://test.salesforce.com/.

Filter by
Sorted by
Tagged with
3
votes
0answers
54 views

Sandbox PostCopy script does not fire on refresh

It sounds like other people out there have made this work, so safe to say mine is not firing due to me doing something wrong although it seems like I'm spot on from the documentation here: https://...
0
votes
2answers
147 views

Getting error while moving chat buttons from one sandbox to another through changed set. error : Required fields are missing: [RoutingType]

Getting error while moving chat buttons from one sandbox to another through changed set. error : Required fields are missing: [RoutingType]
0
votes
0answers
13 views

sfdx force:org:create throwing an error after creating a Sandbox

I'm running sfdx force:org:create command to create a Developer Sandbox. The sandbox creation is done successfully but it's throwing an error during the activation. The error message reads as "ERROR ...
-1
votes
0answers
26 views

need last login date from each sandbox against production [closed]

Requirement-Need last login date in all the sadboxes from production in salesforce. I have 45 sandboxes created against production org and i want to get the last login date for each sandbox in one ...
1
vote
1answer
19 views

System permission named “View all custom settings” not getting deployed

Salesforce introduced a new setting under system permissions of profiles and permission sets named "View all Custom Settings". I changed this settings in all the profiles to true in my Sandbox and ...
0
votes
2answers
18 views

Is there a way to get a list of updates in my sandbox?

When developing in my sandbox, I want to get a list of items (custom objects, LWC, Role, Permission Set, Email Template, etc.) that have been updated. How can I get a list of updated items? ...
0
votes
3answers
41 views

How to copy metadata of Partial Sandbox into a new Developer sandbox?

I Have only one license of Partial sandbox. I want to refresh it with Production. Before that I want to copy all the metadata present in the Partial sandbox into New/Existing Developer sandbox. How ...
0
votes
1answer
368 views

Email from trigger doesnt deliver from sandbox

I have written a custom trigger , which sends an email to a contact , "after update, after create". Using System debug messages I have ensured that the code is working as expected. but the issue is: ...
1
vote
1answer
49 views

Logging Into New Sandbox That Was Copied From Other Sandbox

I created a new sandbox "SB2" that's copied from another sandbox "SB1". However I cannot figure out the username/password in order to log into this new sandbox "SB2". What I know and have tried My ...
1
vote
2answers
71 views

How to retrieve Custom Settings from Sandbox to a local SFDX Project?

I want to know how to retrieve Custom Settings from my Sandbox into a local sfdx project. I know command force:source:retrieve but I do not know what parameter to use for retrieving Custom Settings. I ...
1
vote
1answer
37 views

Update email address and profile on SandboxPostCopy MIXED DML OPERATION error

I've been trying to update user emails and profiles after a sandbox is created and using the SandboxPostCopy interface. However I keep running into the below error: Update failed. First exception ...
0
votes
0answers
20 views

Is there a way to do 75% org wide coverage checking before I check-in my codes to a sandbox?

Is there a way to make Sandbox like Production that will prevent the deployment with full validation if the overall coverage is under 75%? I am building CI/CD in GitLab and have a sandbox for UAT and ...
1
vote
1answer
364 views

When I'm validating / Deploying change set , giving me this error - Package installation failure

When I'm deploying some apex classes with lightning components from 1 developer sandbox to another developer sandbox , it is giving me this error with no information. I don't have any managed/...
0
votes
2answers
35 views

Deactivate user, what about sandboxes?

If i deactivate a user in production, will it still be possible to login to Sandboxes created by this user? Or does it make any automatic deletion of sandboxes?
0
votes
1answer
17 views

Deactivate User In production, will i be able to deploy changes from Sandbox?

I have a Sandbox created by a user George. Let's say i want to make this user inactive in production. Documentation says that i will be able to login to Sandbox with this user, if Sandbox is not ...
0
votes
0answers
17 views

Salesforce sandbox refresh from Production

I have refreshed a sandbox in production, but when I go to Setup in this new refreshed sandbox, it appears continuously loading... and the the Set up menu never appears. Is there any known issue about ...
11
votes
2answers
2k views

Why not use unmanaged packages to migrate metadata to production?

Recently we've been developing an unmanaged package to bundle all our ongoing client metadata in one unit. This is useful when attempting to move stuff between sandboxes before the package goes to ...
1
vote
2answers
37 views

Refreshing / Creating developer sandbox from partial or full sandbox

In Enterprise edition of Salesforce, I remember being able to create or refresh a developer sandbox from a partial or full sandbox instead of production. This would also copy over some of the data ...
7
votes
1answer
32k views

How to login into a sandbox from Sandboxes page in Production org?

We are able to login as a system administrator into the production org of one of our client. The client has sent his own credentials which he used to login. Now we are planning to use the Dev sandbox ...
0
votes
0answers
72 views

Sandbox Login 'To access this page, you have to log in to Salesforce.' issue

I am trying to login to Salesforce sandbox but am getting this issue. The error says 'To access this page, you have to log in to Salesforce'. Check below screenshot: It was working on the sandbox an ...
3
votes
0answers
56 views

Sandbox not authenticating after creation

I'm trying to create a regular developer sandbox and waiting for it to self authenticate (as described in the salesforce documentation If the sandbox is created within the wait time, the CLI ...
0
votes
0answers
21 views

Creating a Blank Template Sandbox

Since our Project does not use Scratch org, Salesforce has suggested to create a blank Template Sandbox.This barebones sandbox should be cloned from Production and then deleted of all it's metadata ...
0
votes
1answer
98 views

Intermittent JWT Authentication Failure

I just spun up a new sandbox (couple of hours old) and I am trying to setup a CI/CD process using BitBucket Pipelines and sfdx. When I run the force:auth:jwt:grant command with hardcoded values (i.e. ...
0
votes
0answers
24 views

Community builder - Why do I have to setup differently my links?

I'm building a SF community with different pages ; Sandboxes are dev5 and dev5. Let's take mentionLegales page, that's how it is defined in dev : Same in dev6 : But the href attribute's to ...
0
votes
1answer
40 views

What is the path to Lightning SVG icons in a sandbox?

So far I have found and tried three paths, but none of them is resulting in an icon being displayed. I am using this code, provided by Salesforce: <div class="slds-form-element"> <label ...
2
votes
1answer
93 views

Clone Full Sandbox to Developer Sandbox?

Is it possible to clone a Full Sandbox into a Dev Sandbox? I tried using clone but it wouldnt allow me as SF tried to do a like for like clone (full sandbox to full sandbox)
3
votes
2answers
316 views

SFDX force:org:clone not working

I am playing around with the force:org:clone command(which is in BETA) but can't get it to work. Here's the command I put together: sfdx force:org:clone -u me@mysandbox.com.full -a FULL_CLONE -t ...
0
votes
1answer
30 views

Custom APEX HTTP POST class fails to pass code coverage [duplicate]

I wrote a simple APEX class that should send some data as a HTTP POST request to some webhook. It receives some parameters as a collection and is called from a flow. global class send_sms_to_webhook {...
0
votes
1answer
581 views

Unable to open Process builder in sandbox-

When trying to open the process builder from setup menu in sandbox, the below message appears in browser. " This site can’t be reached *********.lightning.force.com’s server DNS address could not be ...
3
votes
0answers
27 views

Why can't I install my managed package beta into a sandbox?

We have a managed package on the AppExchange that various customers use. We develop this using SFDX and follow the usual processes of having unit tests with appropriate coverage etc. as required. As ...
3
votes
1answer
117 views

Locating execution logs for SandboxPostCopy script?

I have a Apex SandboxPostCopy script that should have been executed when I refreshed a sandbox recently, but it appears to either be not executing or failing to execute properly. Is there anywhere I ...
3
votes
1answer
57 views

RecordType.DeveloperName works in Sandbox1 but not Sandbox2

I created a flow that starts off with a "Get Record" element for the current Opportunity. I then check the record Type this way: {!Get_CurrentOpp.RecordType.DeveloperName} I check the value and ...
1
vote
1answer
766 views

Prevent emails being send to customers

I am currently doing a Service Cloud implementation for a customer. We have just tackled the email to case needs and we would like to start testing this. We are only facing one problem now: prevent ...
0
votes
1answer
24 views

user training enviroment

We're in the process of researching how to setup a user training environment. We're currently doing user training in the production org, and want to get a away from that. We've got over 2,500 users so ...
0
votes
1answer
18 views

Messaging.sendEmail in APEX not working when launched automatically from flow in Sandbox

I have programmed an autoflow that launches the below class. I need to test the e-mail notifications of Messaging.sendEmail in Sandbox. The strange thing is that when launched manually from the ...
1
vote
2answers
662 views

Pass parameters through Redirect URI in oauth flow, to know sandbox or regular

I use the oauth flow to allow users to authorize my Salesforce app to access the API on their behalf. Depending on input in my app, I either prompt them with https://login.salesforce.com/services/...
3
votes
1answer
723 views

Retrieving sandbox details

Which API can I use to find out the last refresh date of the current sandbox? Does Salesforce have an API available to find out the sandbox details? I would like to find out the last refresh date, ...
4
votes
2answers
745 views

Getting production organization ID from sandbox using API

Is there a queryable ressource through the API from a Salesforce sandbox instance that can return the related production environment organization ID?
0
votes
2answers
46 views

Deployment versioning between sandboxes [closed]

We are currently having problems attempting version control between several sandboxes. We would like to be able to confirm when Sandbox_A is in synch with Sandbox_B. We are thinking we can just name a ...
0
votes
1answer
82 views

HTTP Response Code when org is in Read-Only Mode

I am working with a client who is having their instance migrated to another pod. As part of our preparations, we want to test how integrations will behave when the org goes into read-only mode. As a ...
3
votes
1answer
77 views

Are Custom Indexes passed on to Sandboxes

Are "Customer Support Enabled" custom indexes also pulled into Sandboxes? I cannot find documentation about this. Note: I am NOT asking about user-defined custom indexes.
0
votes
1answer
375 views

Not able to login to sandbox

I was working in a sandbox org when suddenly it logged me out. When checked by other user was was logged in it showed Restricted Ip address. After some time the other user also got logged out. ...
2
votes
1answer
13 views

Do Usernames Hang Around for a While After Refreshing a Sandbox?

Do usernames hang around for a while after refreshing a sandbox? I refreshed an existing sandbox from production and then attempted to update users to activate them and reset their passwords. When ...
0
votes
1answer
913 views

custom button - receiving invalid page redirect error

I am working in my Sandbox environment and tried to use a Custom Button we created last year that works fine in production. I am receiving the following error when trying to create a new record (Case ...
5
votes
2answers
1k views

Manage Package upgrade failure - couldn't retrieve the design time component information for component X

I released a Managed Package version 1.1 and installed on both Developer Org D1 and Sandbox Org S1. Later I added a new Lightning Component and Lightning Record Page to the Package and released a ...
0
votes
1answer
76 views

Alternate to Marketing Cloud Sandbox?

I hope you are all aware of the below recent update form Salesforce! END of Life of MC Sandbox Please share your advise to achieve the below, 1) As per my understating the BEST PRACTICE would be to ...
0
votes
1answer
54 views

Accessing data of Sandbox from Scratch Org

I want to be able to query, insert and update records of a Sandbox from a Scratch org, only during the development phase. I know that scratch orgs are meant to be populated with just a little amount ...
0
votes
1answer
34 views

Sandbox metadata .zip file is size exceed the size limit in Intellij

I'm trying to load the metadata of a sandbox org into Intellij using illuminated cloud but the operation took too much time and fail at the end, and the following error message is displayed :
3
votes
1answer
83 views

Is it possible to discover a sandbox version with a API request to a sandbox?

We built and are enhancing a "Salesforce Sandbox Manager" to allocate Salesforce sandboxes to our Jenkins CI/CD and occasionally facilitate other sandbox management tasks. We'd like our manager to ...
0
votes
1answer
40 views

After creating the sandbox, I tried to login but it requires verification code?

After I have created a new sandbox from a sandbox model, I clicked the login link in the sandbox page and tried login with my credential. But it asked me to type in the credential which is sent to ****...

1
2 3 4 5
12