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
-1 votes
0 answers
26 views

Sell_Asset_RMA__Opportunity_Asset_Junction__c - Column not in sync between SIT4/Sandbox and PROD [closed]

Sell_Asset_RMA__Opportunity_Asset_Junction__c - Column not in sync between SIT4/Sandbox and PROD SFDC. Can you please suggest a solution for this? ............ Detail: I’m part of the Sales ...
-1 votes
0 answers
20 views

Deploy in sandbox with tests preventing the deployment if failed

I would like to know if there is a way, like in production, to prevent the deployment in a Sandbox if the tests fail. Or if there is another way for me to debug and see what's wrong in my code without ...
1 vote
1 answer
32 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
43 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
25 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
58 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
60 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
29 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,245
0 votes
1 answer
31 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 ...
  • 3
0 votes
0 answers
19 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
60 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 ...
  • 317
0 votes
2 answers
192 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 ...
  • 87
3 votes
1 answer
114 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,813
0 votes
2 answers
49 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 ...
  • 310
-2 votes
2 answers
53 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
65 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 ...
0 votes
1 answer
42 views

New sandbox creation with partial data from production

I have small multiple projects in my production org. I need to give access to one project code to a developer from another team. I only need him to see objects, classes, vf pages related to one ...
0 votes
1 answer
65 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
41 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 ...
2 votes
2 answers
770 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,750
2 votes
0 answers
30 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
145 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
233 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 ...
7 votes
2 answers
536 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 ...
  • 132
0 votes
1 answer
158 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
145 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
60 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 ...
  • 77
0 votes
1 answer
327 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
229 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. ...
  • 11
0 votes
0 answers
68 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
0 answers
118 views

Deployment Settings between Developer & Partial Sandboxes

I'm trying to set up deployment settings between a Developer and a Partial Copy Sandbox. I have the Change/deploy change set permissions checked in my profile. In deployment settings, I've checked the ...
0 votes
1 answer
137 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 ...
  • 281
0 votes
1 answer
151 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 ...
0 votes
0 answers
172 views

Field Service Schedule/Dispatch not working in Developer Sandbox

Novice question - I'm trying to scheduler/dispatch Service Appointments to Service Resources, but it shows "No candidates were found" when I try in the dispatcher console. I've loaded ...
  • 321
-1 votes
2 answers
218 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
482 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 ...
0 votes
1 answer
49 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
59 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
91 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
231 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
785 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,218
0 votes
1 answer
32 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 ...
2 votes
1 answer
383 views

Insufficient Privileges On Custom Object Deletion

I am observing a weird behaviour on scratch org, When I tried to delete the custom object it throw an "Insufficient Privileges" error, but this is happening when only financial service cloud ...
  • 2,476
0 votes
1 answer
257 views

Nothing shows in Personal Settings --> Connected Accounts in sandbox org

After successfully setting up Einstein Activity Capture (for Google) on my production org, I then assigned the Standard Einstein Activity Capture permission set to a user. In the production org I was ...
2 votes
1 answer
702 views

How To Enable Einstein Activity Capture In Sandbox Org

After successfully setting up Einstein Activity Capture (for Google) on my production org, I then created a sandbox for it. In the sandbox org, when I go to Einstein Activity Capture in Settings, the ...
3 votes
1 answer
441 views

Why can't I refresh any of my sandboxes

I am unable to refresh any of my sandboxes We have 20 remaining Developer sandboxes We have used 5 Developer, 1 Partial and 1 FullCopy.
0 votes
1 answer
228 views

Impact of uninstalling installed package from production on sandbox?

I have to remove all of the installed packages (mostly managed packages) from Production. Reason: Some of the packages are unwanted now and for others a different package version(not higher) is ...
  • 427
3 votes
0 answers
252 views

How to handle expired access/refresh token from visual studio

Currently, I'm facing an issue while retrieving package.xml after refreshed the sandbox. Error authenticating with the refresh token due to: expired access/refresh token Note: I have reauthorized the ...
  • 1,464
0 votes
2 answers
330 views

Best Practices for Change Set and Deployments

If we built an entire web of objects and tons of flows and apex code that goes along with them. Would it make sense to split this into 2 pieces. The first one containing only the object and fields, ...

1
2 3 4 5
14