Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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 vote
1 answer
19 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 ...
user avatar
1 vote
2 answers
208 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 ...
user avatar
  • 3,720
2 votes
0 answers
28 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 ...
user avatar
  • 31
0 votes
0 answers
30 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 ...
user avatar
0 votes
0 answers
68 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 ...
user avatar
7 votes
2 answers
387 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 ...
user avatar
  • 132
0 votes
1 answer
52 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 ...
user avatar
0 votes
1 answer
55 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
  • 77
0 votes
1 answer
164 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 ...
user avatar
0 votes
1 answer
97 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. ...
user avatar
  • 1
0 votes
0 answers
56 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 ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
0 votes
1 answer
68 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 ...
user avatar
  • 271
0 votes
1 answer
40 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 ...
user avatar
0 votes
0 answers
45 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 ...
user avatar
  • 311
-1 votes
2 answers
95 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 ...
user avatar
2 votes
3 answers
374 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 ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
1 vote
1 answer
38 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. ​...
user avatar
  • 219
3 votes
1 answer
88 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 ...
user avatar
0 votes
0 answers
55 views

Enhanced Lightning Grid error in dev sandbox but not prod

I haven't used enhanced lightning grid extensively in the past, but a previous admin has three components on a lightning page for contacts. They are working in production and when I edit that page in ...
user avatar
3 votes
2 answers
209 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 ...
user avatar
5 votes
2 answers
610 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, ...
user avatar
  • 1,151
0 votes
1 answer
30 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 ...
user avatar
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 ...
user avatar
0 votes
0 answers
252 views

SFDX: Diff Folder Against Org - see only the files with diffs

I'm working with a sandbox org which is not source-tracked because I don't have access to the Prod org, so I don't think I can use SFDX: force:source:status. After running SFDX: Diff Folder Against ...
user avatar
0 votes
0 answers
23 views

When I call PackageLicense SOQL query using rest API, I am getting duplicate records with same "NamespacePrefix" value in the API response

SOQL query - SELECT AllowedLicenses, CreatedDate, ExpirationDate, Id, IsProvisioned, LastModifiedDate, NamespacePrefix, Status, SystemModstamp, UsedLicenses FROM PackageLicense When I call the above ...
user avatar
2 votes
1 answer
259 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 ...
user avatar
  • 2,444
0 votes
1 answer
50 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 ...
user avatar
2 votes
1 answer
506 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 ...
user avatar
3 votes
1 answer
287 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.
user avatar
0 votes
1 answer
134 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 ...
user avatar
  • 405
3 votes
0 answers
155 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 ...
user avatar
  • 1,420
0 votes
2 answers
218 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, ...
user avatar
0 votes
0 answers
76 views

not available for deploy for this org error using VSCode

I recently refreshed my sandbox and trying to deploy some new files, myApexClass.cls, to the sandbox through VSCode, but I am getting the following error message. Question How do I resolve this issue ...
user avatar
0 votes
1 answer
34 views

Difference between sending leads into Dev account as opposed to Sandbox account? Leads not sent into Sandbox with similar settings as Dev account

We have created a webapp to send Leads into the salesforce system, which works great in our Dev account. However when using the same app for another business, which has a Sandbox account, the Leads ...
user avatar
  • 21
2 votes
1 answer
828 views

Messaging.sendEmail not sending emails for non-admin profile in sandbox

In a partial sandbox I am calling Messaging.sendEmail through an @InvocableMethod through a Flow, and emails are not going out for a non-admin profile. There are no errors anywhere and even debugging ...
user avatar
  • 3,764
3 votes
0 answers
54 views

How to access a refreshed Sandbox in CI/CD? [duplicate]

We are using the classical machine-to-machine approach to connect to our DevHub to create scratch org, but in pre-release we need to connect to sandbox environments, which we would like to refresh ...
user avatar
  • 1,612
1 vote
1 answer
2k views

Process Builder: Ischanged() does not work for new records

I am trying to create a process that runs when it meets the following criteria: Field A has been inserted or changed Field B has a certain picklist value(Attended or connected) Field C or Field D(...
user avatar
  • 35
0 votes
1 answer
758 views

Bring validation rule to VS Code project

I am new to Salesforce and I have a question regarding to my first real task so I don’t make nothing wrong. I have created a new validation rule in my sandbox and I want to bring this to my Visual ...
user avatar
0 votes
2 answers
92 views

Experience Cloud Visualforce page is having library and resource loading issues after cloning a Sandbox from Production

The Visualforce page is working fine in prod, but I spun up a Sandbox to do some dev work on it and the CSS wasn't loading, nor was jQuery. jQuery seems to be the first area where things start to ...
user avatar
2 votes
1 answer
480 views

How to ensure 100% code coverage for isSandbox() method branches [duplicate]

I am using the isSandbox() method outlined in the article Determine the organization's edition and environment via APEX code, to determine whether my current org. is a Sandbox. Sample code from the ...
user avatar
1 vote
1 answer
70 views

Managed Package on Sandbox : Namespace is not removed and the entire app just crashes

I've installed a managed package (released version) on a sandbox and it doesn't work because Namespaces are not removed on the Custom fields API name from Lightning component controllers : From my dev ...
user avatar
  • 442
1 vote
0 answers
109 views

I cannot change the status of contracts in a sandbox environment (Full copy)

I am having an issue. In a sandbox environment, I cannot change the statut of contracts as system admin, from draft status to any status. This message error displays :" You encountered some ...
user avatar
0 votes
0 answers
81 views

How to find which sandbox a user was created in?

A friend asked me how to figure out which sandbox their user was created in because the username is not being allowed to be reused. Attempts to use Forgot Your Password? at test.salesforce.com have ...
user avatar
1 vote
0 answers
77 views

OAuth2 to Sandbox community with `refresh_token` - requested scope not available

I am using Salesforce Mobile SDK for iOS which uses OAuth 2.0 User-Agent Flow. When authenticating against a community, the URL looks like so https://<Community>/<OptionalPath>/services/...
user avatar
  • 1,576
1 vote
1 answer
258 views

Can't connect cloned repo to sandbox in VS Code

I'm using VS Code, Bitbucket, and a standard sandbox (not scratch org).  What's the correct procedure to clone an existing repository and connect it to the sandbox? I've read this question/answer but ...
user avatar
  • 6,330
1 vote
0 answers
378 views

Can we refresh Partial Copy sandbox without any data just like developer sandbox

I have a partial copy sandbox created recently and I see that Salesforce loaded around 1.5GB of data from Production. While refreshing partial copy sandbox, I have created a sandbox template including ...
user avatar
2 votes
1 answer
102 views

how I use skinny tables in a sandbox

If I plan to use Skinny tables in my org, and say use it for accounts to improve performance issues, and as a result, set up say 30 fields in the skinny table, how do this work in the sandbox if ...
user avatar
  • 5,176

1
2 3 4 5
13