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
0 answers
24 views

Sandbox Source Tracking does not activate

I have enabled source tracking in Developer and Developer Pro sandboxes in the production org, but source tracking commands still throw an error even after a sandbox refresh. Some details: we have a ...
  • 5,166
0 votes
1 answer
27 views

Send Email Button is Not working in a Managed Package that i have installed in Sandbox

I have created a managed package in a developer edition org that contains send email button. When I install the package in another test org(dev edition), everything works fine. But , when I install ...
  • 1
0 votes
1 answer
49 views

Unexpected end of JSON input when trying to authorize my sandbox from vscode

I am trying to authorize my sandbox org from vs code > After logging in with my credentials, I keep on seeing this output from the browser which I Quoted below "Unexpected end of JSON input ...
-1 votes
1 answer
98 views

Multiple payloads sent to REST api endpoint from Apex Trigger issue

When we create/update a Case , we send those details/data/payload information to our REST api endpoint via SF developer console using APEX Trigger + Class. The Case has few lookup/mapping fields to ...
-1 votes
2 answers
52 views

How do I list sandboxes associated to my production org using sfdx-cli?

I would like to list all the sandboxes associated with my production org. What I want to view via cli, is what I see here - Setup>Sandboxes Version being used is sfdx-cli 7.179.0
0 votes
1 answer
41 views

Is there a way to roll back to a previous date?

The sys admin who created our setup is on extended leave, and she changed something bf she left and now new users can't save any accounts or contacts they create. I would like to either roll back to ...
  • 13
0 votes
1 answer
31 views

Environment specific custom settings

I am integrating SalesForce with a third party app and I would like to have the URLs go to the sandbox url of the third party app in my sandbox environment and I would like them to go to the prod ...
  • 103
0 votes
1 answer
200 views

Sandbox Deletion Still Pending

I deleted my sandbox 4 days ago, when I try to create it again I see a message that the deletion is still pending. Is there something else I need to do to officially delete the sandbox? Thank you.
1 vote
1 answer
67 views

Why on these 2 environments I have different profile view?

On my first environment, this is how I can review my System Administrator profile: On my second environment, this is how I can review my profile: Is there any way to switch the view from the second ...
0 votes
0 answers
84 views

What can be the reason why unit tests pass in the Sandbox environment but fail during deployment to the same Sandbox?

We have a Sandbox_1 where all unit tests are running properly, and we want to deploy our code to an entirely different organization via our repository When running unit tests we have issues with ...
0 votes
1 answer
49 views

Can I deploy code to the Developer environment from repository via SFDX if code doesn't have enough test coverage?

I tried using: sfdx force:source:deploy -u user@gmail.com -c -p force-app/main/default -l RunSpecifiedTests -r Class1Test But it still runs all unit tests How could I deploy the code to the Sandbox ...
0 votes
1 answer
129 views

To seed the data from production into the developer sandbox using SandboxPostCopy interface

I don't have much experience in the creation of sandboxes. I have a requirement to seed some data from Prod into the sandbox using SandboxPostCopy interface. Is there any way I can do that using SOQL'...
  • 37
1 vote
1 answer
191 views

Authorizing the sandbox through VS code failure

I keep getting error when I attempt to authorize my sandbox on VS code. The problem is: I follow the steps => ctrL+shift+P > SFDX:Authorized an ORG. I select test.salesforce.com page after ...
  • 21
0 votes
1 answer
80 views

Replicate Integrations after sandbox refresh

I have a full sandbox that has a few integrations with 3rd party vendors like lexis nexis, onespan, mainframe core(informatica updates), community portal. We want to refresh the SB from prod and then ...
0 votes
0 answers
26 views

Initialise Salesforce sandbox from a static dataset [duplicate]

I have a scenario where a sandbox is used for training purposes and needs the data to be reset and reinitialised from a static dataset for each training session. What would be the recommended approach ...
0 votes
2 answers
389 views

Developer Sandbox existing data after refresh

I've read articles on Sandbox refresh on Salesforce Help page and it mentions about what happens to the data after refresh in case of Partial copy and Full copy sandbox, but nothing on a developer ...
  • 1
0 votes
3 answers
238 views

Is there a way to create a sandbox from the scratch org?

I need to create new scratch orgs every 30 days (because they expire every 30 days) but on my project there is a big number of post-steps to configure the scratch org which take enormous amount of ...
  • 35
0 votes
1 answer
42 views

Sandbox Edition Question

I am looking to start using scratch orgs with my sandboxes. I understand we can't use unlimited editions with scratch orgs but we can use developer editions. When I went to the sandbox's company ...
  • 3,289
0 votes
1 answer
37 views

Sandbox Vs Sandbox Template

I am integrating a native app - inspire Planner- into my org. I have a Partial Sandbox that I want to install it into. I am looking at the documentation and trying to understand the difference between ...
  • 1
0 votes
0 answers
22 views

Attaching VF PDF Page to Record works in Sandbox but not in Production

I have a Problem that I was neither able to solve nor did I find some concrete Infos. I have a VF Page rendered as PDF. As my controller generates several Documents using same VF Page, I implemented ...
  • 1
1 vote
0 answers
219 views

Connected App authentication failure with newly refreshed sandbox

I have a connected app that uses the standard Username & Password+security token to auth. I have tested connecting to the app from a production org, sandbox and scratch org. They all work. This ...
  • 329
0 votes
2 answers
1k views

Automated Process User in Salesforce

We are trying to automated some of the data maskign activities as part of our post sandbox refresh activity. We have achieved this by implementing sandboxpostcopy interface. I found out that the apex ...
  • 85
3 votes
1 answer
344 views

SFDX: How to refresh existent sandbox via CLI

In sfdx guide there is a chapter named "Create, Clone, or Delete a Sandbox" (https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_create_clone_sandboxes.htm). ...
  • 2,853
0 votes
2 answers
159 views

What does getSandboxName() return for production orgs?

I'm checking the sandbox name so I can set outbound URLs properly on a button component. In my controller I have a method to get the sandbox name: @AuraEnabled public static String ...
  • 312
-2 votes
2 answers
119 views

How to Delete Clone sandbox? [closed]

My Query is to delete the clone sandbox, how could I do that although I have all the admin permission.
0 votes
1 answer
118 views

SSO on salesforce only works for certain users

I just started with SSO on salesforce, I made my configuration on one of our sandboxes, the problem is that when I test the SSO connection or when I add a new user on the sandbox, it works well but ...
  • 9
0 votes
1 answer
147 views

Setting up a Pardot Sandbox

So we recently purchased a license for a Pardot sandbox (We've got Plus edition so we don't have one by default) and I'm having a hard time figuring out how to set it up. I'm following the ...
1 vote
1 answer
66 views

SandboxPostCopy - portal account owner must have a role: []

I am creating a SandboxPostCopy class that generates some mock data in our sandboxes when we do a refresh. If I run the class via anonymous window, it works fine and builds all the goodies. If I run ...
3 votes
2 answers
1k views

What changes need to happen to a Connected App after a sandbox refresh?

The Connected App was created in Prod and brought over to the sandbox during refresh. I see that the Consumer Key and Consumer Secret are different. What do I need to do to get it back up and running ...
  • 3,794
2 votes
0 answers
31 views

How do I perform Upsert using Enterprise WSDL v54?

Attempting to use the Upsert function contained in the Enterprise WSDL (Salesforce Sandbox) version 54. Unfortunately not very familiar with SF development or Upserts, the documentation on the ...
  • 31
0 votes
1 answer
281 views

Navigation Link Set deployment issue from Dev to Sandbox Account

I'm trying install an unmanaged Package from my dev org to a Sandbox org using the Package installation Link. The Package contains the Digital Experience Sites (communities) and a related dependency ...
0 votes
0 answers
425 views

Field Integrity Exception: Unknown when updating a price in sandbox

In sandbox, I am trying to update a price for a product in the standard price book through the UI. When I change the List Price and click save, I get the following error. These are referencing ...
9 votes
2 answers
687 views

Branching Strategy and Pushing Tickets with Different Testing Timelines through to Production

Situation We are a small team of internal developers who recently adopted a more modern DevOps model (from changes sets and one org for multiple developers) and wanted to ask the community for some ...
  • 152
0 votes
1 answer
400 views

Access to a Sandbox

I have a problem with accessing a sandbox, I recently got hired to a new company and other admin has many sandboxes, with classes that I need to upload to production, I don't have access to that ...
0 votes
1 answer
195 views

Resource Not Found Using sfdx force:org:create

I am attempting to use a sandbox of my production org as a DevHub for scratch orgs. In VSCode, I am using the built-in sfdx application to do this, first creating an sfdx project, then authorizing my ...
0 votes
0 answers
87 views

Heroku Connect and Sandbox Refresh

We are currently leveraging Heroku Connect to oneway sync a subset of tables from our bespoke app (mobile & web app). We push these records from our app via Debezium/Kafka to Heroku Connect from ...
  • 105
0 votes
1 answer
456 views

Salesforce Marketing Cloud SSO (Multiple MID) with Azure

We are attempting to configure Single Sign On in our Salesforce Marketing Cloud sandbox. We already have SSO set up in Production. We noticed that when we configure SSO in sandbox, the SSO in ...
0 votes
1 answer
387 views

CDP not visible in Sandbox

We want to use CDP (Customer Data Platform) in our Sandbox but we can only see it in production ORG. We checked all the permissions. Connected Sandbox to production in CDP setup but nothing showed up. ...
  • 21
0 votes
0 answers
91 views

Сan we get number of available developer sandboxes in production via apex

I need to get number of available Developer Sandboxes in production via apex. I know that we can get it via Setup : I know that we can get number of Developer Sandboxes which we use via Tooling Api ...
0 votes
1 answer
256 views

Is it possible to connect the same marketing cloud environment to 2 different orgs?

As a marketing cloud admin, in the last few years I worked for some clients having always this configuration: UAT sandbox org (Sales Cloud) connected to UAT MID (Marketing Cloud) Prod org connected ...
  • 291
0 votes
1 answer
261 views

Multi Currency - When editing a currency field it shows the user currency in the input field instead of the record currency

Multi Currency - When editing a currency field it shows the user currency in the input field instead of the record currency, but saves in the record currency anyway, so what is the point of the input ...
-1 votes
2 answers
396 views

How to resolve "You can’t delete this auth provider as an authentication method because your org or Experience Cloud site is currently using it"?

How can Auth. Providers be removed from Experience Cloud sites? When I attempt to delete my OpenID Auth. Provider in my Sandbox, I am receiving the following error: You can’t delete this auth ...
2 votes
3 answers
585 views

How to prevent accidental config changes made directly in Production?

Too many times we've had developers (as well as our release manager, who also dev's) inadvertently make a change directly in Production because they had the Prod org open alongside their dev org in ...
  • 2,934
0 votes
1 answer
64 views

Sandbox Testing and Deploying to Production

I am having an issue with getting my trigger and two classes from sandbox to production. I have one trigger that kicks off on an update to the account object that calls one of two classes to ...
1 vote
2 answers
76 views

Is there a way to regularly schedule sandbox refreshes to stay on either a non-preview or preview instance?

Are sandbox refreshes randomized as far as the instance it refreshes to? Current Scenario: I'm on a non-preview instance. I would need to refresh after January 8th, 2022, the preview cutoff date. ​...
  • 229
3 votes
1 answer
97 views

Question about Unorganized Org/Sandboxes

So I'm fairly green when it comes to development. I left a company that had an insanely structured enterprise Salesforce organization with many teams and joined one that I'm realizing is pretty much ...
3 votes
2 answers
263 views

SFDX: how to ensure you are in the right org?

I am just getting started with using VSCode to work on an apex class. As I do not want to touch the sandbox I got the code from originally, is there a quick way to see what org I am connected to at ...
5 votes
2 answers
1k views

Winter 22 Sandbox permission error

In our testing Sandbox environment, now on "Winter 22 Patch 3.2", we have started getting this error for non-admin users viewing account pages: Looks like there's a problem. Unfortunately, ...
  • 1,301
0 votes
1 answer
47 views

Can we create sandbox via metadata in apex salesforce?

I know that it can be impossible , I have requirements to create a sandbox for organization via a button on Custom object record. Can we create a sandbox via metadata in Apex or some process ? Any ...
1 vote
0 answers
14 views

Are custom labels in sandboxes automatically altered if they contain an organization id? [duplicate]

We have a custom label that contains the organization id of our production org, to help regression/acceptance testing in sandboxes. Typically, the label is compared to the org id to determine to which ...

1
2 3 4 5
14