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
0
votes
1answer
29 views

Pros and Cons of Sandbox delete vs refresh

Our partial sandbox is out of date, and before undertaking a new project, our developers suggest deleting the sandbox completely and create from scratch instead of refreshing and renaming it. Can ...
0
votes
0answers
46 views

multiple developers working on same sandbox using visual studio code

We (Team & Org.) are new in salesforce development and not sure if our infrastructure setup is right or not. Current Setup: We have a set of 3 developers working on one developer sandbox. The ...
0
votes
1answer
25 views

Shifting from Sandbox to Production in Salesforce

We have just connected sandbox with MC so there is nothing much in the MC apart from synced contacts from sandbox and couple of queries and DE. Should I just disconnect the salesforce integration from ...
2
votes
1answer
229 views

if i create a record in a Sandbox, is it possible or impossible that it might accidentally have the same ID as a record in the Production org?

My Apex code in a Sandbox will execute a DML Insert that will create an Account. It would simplify my algorithm if I were certain that the new record's ID could not possibly match that of an Account ...
0
votes
0answers
31 views

i am getting error when deploying test class to production, but not failing in sandbox [duplicate]

error when deploying /* * @Description - This test class is to provide test data for AccountTrigger & AccountTriggerHandler * This Test class Also Tests The Trigger Logic On After Update To sent ...
0
votes
0answers
35 views

Sandbox refresh - retrieving data from Production via SandboxPostCopy

We are using the SandboxPostCopy feature to run some sandbox setup on the creation of a new sandbox. We are hoping to be able to create some data that exists in production upon sandbox creation. ...
0
votes
0answers
29 views

Sandbox Error: All Queries Getting Error HTTP CODE[0]

yesterday the sandox in which I was working was refreshed and after that all the queries I make throught the Anonimous Window are getting this error. The message says: Line: undefined, Column: ...
1
vote
0answers
24 views

Error between scratch org and sandbox: Permission ModifyAllData depends on permission(s): EditPublicReports, EditReports, ManageDashboards

We have a permission set with this metadata: <userPermissions> <enabled>true</enabled> <name>ModifyAllData</name> </userPermissions> ...
0
votes
1answer
28 views

Attaching namespaces to mdapi object before deploying to a sandbox org?

I am currently deploying my Salesforce code to a qa sandbox environment with the mdapi (sfdx force:source:convert -> sfdx force:mdapi:deploy). However, we need the object and pages and etc when ...
0
votes
2answers
47 views

How can I insert records from one sandbox to another sandbox?

I have sandbox shared for my team and I have personal sandbox. How can I insert records sandbox shared for my team to my personal sandbox? I have required objects and fields. I don't need to insert ...
1
vote
0answers
20 views

DKIM in both sandbox and production [duplicate]

So someone in our past setup DKIM in the production system. Now I have a sandbox and I'm testing emailing. I need DKIM setup in the sandbox as well. Can I just setup DKIM in the sandbox with the ...
1
vote
1answer
37 views

Installing Five9 managed package in scratch org doesn't install all fields on Activity

We're spinning up a scratch org and trying to install the Five9 Managed Package in the org with the following command: sfdx force:package:install --package 04t2K000000Fz05QAC --securitytype=AllUsers -...
0
votes
1answer
48 views

Success true but nothing is showing up in my Org

I'm using the workbench to upload some deleted flows to my sandbox so we can fix and re-deploy to production. I got the instruction how to do this from OwnBackup but they are not working. It says ...
0
votes
0answers
33 views

Cannot login to the sandbox app using JWT: invalid_grant: user hasn't approved this consumer (400)

so I generated and uploaded self-signed certificate, created an app, selected "Admin approved users are pre-authorized", added username role to approved list and wrote following code (using Ruby and ...
0
votes
0answers
29 views

Push topic connection in salesforce is time out within few seconds (sandbox - Winter 20) and gives the error 403::Unknown Client

I'm trying to connect push topic server via workbench. But connection is dropping within few seconds. The permission required for the login user to connect streaming API was given in the sandbox. What ...
0
votes
1answer
23 views

How to create a new user in a Sandbox? [duplicate]

I am trying to create a new user in sandbox. I have admin access to the production org. When I click on Log In link from the list of Sandboxes, it takes me to the new login page, but I do not have ...
3
votes
0answers
58 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
0answers
38 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
vote
1answer
33 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
19 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
82 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 ...
1
vote
2answers
281 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
45 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
22 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 ...
0
votes
1answer
19 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
2answers
43 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
0answers
18 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 ...
0
votes
0answers
152 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 ...
0
votes
0answers
23 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
0answers
29 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 ...
3
votes
0answers
61 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
1answer
205 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
1answer
66 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
110 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)
0
votes
1answer
32 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 {...
3
votes
0answers
37 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
58 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 ...
0
votes
1answer
25 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
26 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 ...
0
votes
2answers
52 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
136 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 ...
2
votes
1answer
15 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
83 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
59 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
47 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
85 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
51 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
vote
2answers
44 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 ...
1
vote
1answer
51 views

Maintaining file/folder structure during outbound change set

I make/deploy my APEX and LWC components through VS Code and SFDX and recently ran into a problem where, when I went to deploy a lwc to another sandcopy, I noticed that the folder/file structure I had ...
1
vote
2answers
302 views

Can we connect a specific Marketing Cloud's BU to a sandbox of service cloud?

I want to use a BU as a test environment by connecting it to a sandbox of service cloud. And perform development and testing activities. Is it possible?

1
2 3 4 5
12