Skip to main content

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
1 answer
2k 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 ...
-1 votes
0 answers
33 views

REST API - CORS Related Issue

Any assistance here would be greatly appreciated! I am attempting to fetch SF case status value via REST API using an HTML/Javascript form. Essentially, I would like external users/clients to be able ...
0 votes
1 answer
1k views

Unable to setup Einstein Activity Capture in my sandbox org

I am trying to enable Einstein Activity Capture in Sandbox org to test it before making it available to all users in Production, however, some of its features are not enabled while setting it up as ...
0 votes
0 answers
36 views

Waive Multi-Factor Authentication for Exempt Users not working as expected

I am new to the salesforce ecosystem and was experimenting with MFA. I have enabled the Waive Multi-Factor Authentication for Exempt Users permission set for an user but its still enforcing the user ...
0 votes
0 answers
18 views

Refused to connect error after refreshing sandbox with MFA as high assurance

In my production org, my session settings is as follows : Lock sessions to the IP address from which they originated = TRUE Lock sessions to the domain in which they were first used = TRUE High ...
3 votes
2 answers
5k 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 ...
-1 votes
1 answer
21 views

How to use a dev repo to update your sandbox from other stories

Instead of refreshing your developer sandbox every time you work on a new ticket, how can you use a dev repo to update your sandbox so you have the latest code from everyone else too?
0 votes
1 answer
2k 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 ...
0 votes
1 answer
1k views

Opening AppExchange in sandbox?

I am trying to install an app through AppExchange in sandbox. When I oepn an app and click Get It Now, it takes me to login.salesforce.com. I tried changing login to test in url but not ...
7 votes
3 answers
3k views

Datamigration Salesforce to Salesforce with TalenD - Best Practice for Self-Referreces

Assuming metadata is already identical, the data-transfer of complex models can still take hours or even days of manual work. Fortunately there are free tools like TalenD which can help to automate ...
1 vote
0 answers
49 views

Getting Error "(1): The requested resource does not exist" while creating sandbox through Salesforce CLI

Getting Error "(1): The requested resource does not exist" while creating sandbox through Salesforce CLI sfdx org create sandbox -f config/dev-sandbox-def.json --target-org DevHubOr --wait ...
0 votes
1 answer
883 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 ...
1 vote
0 answers
782 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 ...
1 vote
2 answers
4k views

Send Email button is not showing in activity history for community in salesforce

I have added the related list of Activity History under case object & also added the send email button on activity history but it is not showing under case related list in community and even ...
1 vote
3 answers
2k views

Prevent emails being sent 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 ...
3 votes
2 answers
1k 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). ...
7 votes
5 answers
14k views

How to identify the type of Sandbox in Apex?

I need to check the type of Sandbox to verify whether it is one of the following Partial Copy Sandbox Full Sandbox Developer Sandbox The Organization object helps in identifying if its a sandbox as ...
0 votes
1 answer
327 views

Deactivating a pipeline in devops center

Good morning dear, long time no ask. I'm testing Devops Center and I'm curious to know if you can disable the pipeline in Devops Center. Any help or information is welcome. Greetings!
0 votes
0 answers
53 views

Use connected app that exists in production to connect to sandbox

I have the following scenario and would like to discuss if this is possible at all. Some customer wants to do some tests in a sandbox. It's the same org as the prod environment. We have a perfectly ...
3 votes
2 answers
1k 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, ...
3 votes
2 answers
4k views

What is my Username and Password when I CLONE a sandbox

Clone a Sandbox is a new feature as of, I think, March 2018. I am cloning .dev sandbox. My prod username is [email protected] (i know this username is stupid, but it is the situation) My ....
2 votes
3 answers
9k views

Obtaining sandbox refresh date

I've investigated and found two articles with no answer for this question: Retrieving sandbox details Reference date /time when Sandbox is refreshed through API It's been a while, so maybe something ...
1 vote
2 answers
3k views

Masking Sensitive Data in Sandboxes

Does anyone have experience of masking sensitive data in a sandbox? Our organisation holds lots of sensitive data, specifically in the User object. We also use multiple sandboxes for development, ...
117 votes
14 answers
58k views

Can we determine if the Salesforce instance is production org or a Sandbox org?

I am looking for the most efficient way of identifying the type of org (Production or Sandbox) via Apex code. URL scraping is not useful to me, since I'd like to get this information inside a trigger ...
0 votes
1 answer
44 views

Generating a Developer Sandbox from another Partial Box

I am aware that a production org can be used to spin off individual developer sandboxes. I am in the situation where the current project has build in a partial box. The Production org is greenfield / ...
2 votes
2 answers
1k 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 ...
2 votes
0 answers
42 views

Managed package LWC hangs page on installed orgs, but not on development environments when using lightning/refresh?

I have a LWC in a managed package that implements a lightning-combobox and the lightning/refresh module. Those two are not directly connected, but the observed issue - page hanging - seems to be ...
0 votes
1 answer
634 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 ...
2 votes
0 answers
55 views

Salesforce AWS EventRelay refuses to connect to AWS DEV after sandbox refresh

In November I set up a SF Event Relay for AWS Eventbridge in our DEV SF sandbox which pointed to our DEV AWS account using the Named Credential, Event Relay, Event Channel, Published Events process, ...
1 vote
1 answer
3k views

If I refresh my Sandbox now, will it be on the Preview Release version?

Looking at the documentation What happens if I refresh my sandbox now? Will still be built on Winter Release 19 and stay as it is now (as we are close to the 13 October Deadline) It will go to Summer ...
0 votes
2 answers
5k 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 ...
0 votes
0 answers
37 views

How to refresh token and set Apex class PostCopy via sf cli

I'm following this document to trigger refresh sandbox, also want to set Apex class in post copy sf data update record --json --use-tooling-api --target-org $targetOrgAlias \ --sobject ...
-1 votes
1 answer
59 views

Upload Metadata into Salesforce from GitHub

There is a GitHub repository with metadata such as tabs, custom objects with fields, apps, etc. What is the best approach to upload that metadata from GitHub into the SF Sandbox org? Thank you in ...
1 vote
0 answers
32 views

How to do automation install package after sandbox created [duplicate]

Im trying to do continues deployment everytime sandbox refresh. But it was work fine if trigger via Developer Console (via personal account) But there is nothing happen/run if trigger via Automation ...
0 votes
1 answer
137 views

Why can't I authorize my sandbox in my SFDX environment?

I have a recently refreshed sandbox built against our production org. I need to authorize my SFDX environment so I can push the source code to it. I've executed these shell commands: % sf org login ...
1 vote
1 answer
97 views

Can not activate sandbox after refreshing sandbox

yesterday I tried to refresh sandbox in orgs And now It indicates that ready to activate the sandbox but when I tried to use sf data update record with below full command sf data update record --json ...
2 votes
1 answer
930 views

Outbound change sets missing after migration to Hyperforce?

Past weekend my main developer sandbox was migrated to Hyperforce. Everything appeared to be OK, until I wanted to add something to an outbound change set. They were all gone. In the documentation re. ...
0 votes
0 answers
62 views

View Connected ORGs metadata/data inside the Environment Hub

I have a question regarding Environment Hub. Somehow, how to view some additional metadata of Connected ORGs inside the Environment Hub ORG. Managing users in all connected ORGs. If the user (...
1 vote
1 answer
109 views

Sandbox Post Creation APEX Script not working

I have the following Apex Class that I created in a developer instance. When I execute anonymous window it creates random dummy data. But when I add it to a Sandbox refresh or creation, it seems to ...
1 vote
1 answer
136 views

What are the database values for Status of SandboxProcess in the Tooling API?

Does anyone know of a reference for the database values of the SandboxProcess.Status field in the Tooling API? I want to query SandboxProcess, but filter out the Deleted and Deleting records in the ...
0 votes
2 answers
4k views

Custom Field Not Visible on Page Layout in Production Org

I am having what seems to be a weird issue. I added a custom field titled "Status" to the Account object. I then went into the page layout and added this field while also marking it required....
0 votes
1 answer
160 views

Unable To Access Sandbox from Production Account

I have a brand new Salesforce org and just created a few sandboxes for our dev team. However, none of them are able to login or reset the passwords to their sandboxes since they have never logged in. ...
8 votes
1 answer
57k 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 ...
5 votes
7 answers
7k views

Differentiate Production/Sandbox Instance?

I know it is fairly straightforward in Apex to determine if the Salesforce instance is production org or a Sandbox org, but I wonder if the same is possible via formula? I have also read What are ...
0 votes
0 answers
493 views

How do I resolve this deployment "fatal error?"

I receive the below "fatal error" running a deployment to a dev sandbox that includes destructive changes. The error occurs after tests run: EntityObject can not be initialized with null ...
-1 votes
2 answers
56 views

Sandbox refresh Question

I am new to our Org. I am trying to refresh "partial copy" sandbox created by other person(who resigned the company). Currently I dont have log-in access to "partial copy" sandbox. ...
0 votes
1 answer
101 views

How does salesforce generate a unique URL for each org and registers it on their domain provider dynamically?

So every time we create an org a unique URL is generated for the org, I'm very curious as to how it is working from a domain point of view. Do they create the subdomain URL while creating an org and ...
0 votes
1 answer
573 views

Sandbox Expiration Email

As per Salesforce documentation, users with Manage Sandbox permission will receive a notification email before sandboxes get deleted due to inactivity or being locked for a certain period of time. ...
-2 votes
1 answer
1k views

Salesforce sandbox slow

I am an IT Support person where I have salesforce sandbox environment. I used to check internet connection but every things is stable no ping break so far. Every thing like Zoho, Jira, Slack seems ...
-2 votes
1 answer
108 views

If you refresh a Salesforce oganization, what happens to OAuth credentials and refresh token?

I refreshed my Salesforce sandbox and my OAuth credentials (refresh token) doesn't work anymore. Is that expected?

1
2 3 4 5
14