A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [sandbox-refresh]

Questions relating to the way Sandboxes can be populated with metadata (and optionally data) from a production org or other sandboxes.

Filter by
Sorted by
Tagged with
3
votes
1answer
709 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, ...
2
votes
1answer
11 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
29 views

While refreshing Partial Copy sandbox, is Customer Community users also created with Contacts?

I want to refresh Partial Copy sandbox with few set of objects data which includes contact records as well. I don`t want to send any sandbox email to Community user in the process of refresh. While ...
1
vote
1answer
471 views

Are the enterprise WSDL endpoints for Sandbox & Production the same (now)?

We have built a .NET app that uses our Enterprise WSDL to pull data from Salesforce , and we use a dedicated development sandbox for ongoing development. Previously, looking at the WSDLs generated ...
0
votes
1answer
19 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 ...
2
votes
2answers
37 views

Is it possible to create a Dev Org from Full sandbox?

I would like to create a Developer Edition Org from Full. I haven't been able to find anything online for this, maybe I'm just bad at searching. Is it possible? Is a specific license needed?
0
votes
1answer
2k 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, ...
4
votes
4answers
2k 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 ...
3
votes
3answers
3k views

Sandbox Refresh button disappeared

Since two weeks, sandbox 'Refresh' button has disappeared in all the 3 instances we have. Does it have anything to do with the Summer 16 release? I checked with my friends working in different ...
0
votes
0answers
12 views

What is the maximum time taken by a Full copy sandbox for its activation

I have refreshed a full copy sandbox with Production and its in activating stage since long. Any idea on this please?
0
votes
0answers
29 views

How to change Sandbox location

I just refreshed a sandbox which was based in CSXX and after it moved to CSYY which made it move from a non-preview instance to a preview instance according to this url: https://www.salesforce.com/...
4
votes
1answer
443 views

SandboxPostCopy Functional Failure

Purpose: Grab all users with custom permission "Sandbox_Administrator" on sandbox creation and update their Profile id to "System Administrator". When Code is ran a notification of successful run is ...
7
votes
3answers
728 views

Can I connect to a sandbox using JWT Flow and Prod connect app?

I'm trying to connect to a sandbox using the sfdx cli and the JWT flow through force:auth:jwt:grant. According to this Salesforce DX doc, we can use the same connected app information from Production ...
0
votes
2answers
117 views

Sandbox Refresh: Common problems

We are planning to refresh our DEV Sandbox (Used for Integration Testing) from Prod. I am trying to identify impacted areas and how I can address those post refresh One of the identified areas - ...
0
votes
3answers
605 views

refresh a production org to a starting point

I have a production org to which i deployed metadata from dev sandbox using Ant. There is no connection between dev sandbox and production. How can i refresh the production org to a starting point ?
6
votes
1answer
177 views

Apex callout to same org in SandboxPostCopy

Use case During sandbox creation or refresh (Enterprise, not ISV use case), with Apex class implementing SandboxPostCopy, invoke MetadataAPI to delete stuff that shouldn't be in the sandbox (like ...
2
votes
3answers
368 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 ...
3
votes
1answer
43 views

Why Apex Exceptions Email Settings are not copied to Sandbox upon sandbox refresh?

Why Apex Exceptions Email Settings are not copied to Sandbox upon sandbox refresh? We need to manually setup Apex Exceptions Email Settings every time after sandbox refresh. Is there any way to make ...
4
votes
2answers
692 views

Are Scheduled Jobs copied after Sandbox Refresh?

Are Scheduled Jobs copied after Sandbox Refresh? I did a refresh of a full copy sandbox and looked at the scheduled jobs but not all of them are there. Anyone has any ideas of the criteria used to ...
1
vote
2answers
412 views

Would Refreshing a Sandbox Wipe Out Certain Metadata?

If I have custom-setting metadata (or any other custom objects) in a partial-copy sandbox and not in production, then I refresh the sandbox, will that metadata be wiped out and have to be recreated? ...
1
vote
1answer
23 views

Which Sandbox Types are Configuration-Only?

This question asks what the difference is between configuration and developer sandboxes, but I want to know which sandbox types are configuration-only. In no documentation are certain types called ...
0
votes
1answer
84 views

can I update platform version on new sandbox

I created a new sandbox but since its a copy from production it is on API 44 all other sandboxes are API 45. is there a way to manually update the API version on the newly created sandbox to API 45?
1
vote
1answer
34 views

Is it possible to prevent certain flows from being cloned

Is it possible to prevent certain flows from being accessed when someone clone a sandbox?
3
votes
0answers
74 views

Why can't my Sandox Refresh Script INSERT Accounts?

I finally got a sandbox refresh script written, tested, and deployed to prod yesterday. But when I actually a sandbox and have it run on the sandbox copy, I don't actually get the records it's ...
1
vote
2answers
61 views

Deploy test for a SandboxRefreshScript

I'm trying to deploy a SandboxRefresh script to prod. One of the main things that script does is replicate the structure of Chatter groups we use so that I can then use Processes in my sandbox that ...
1
vote
3answers
810 views

Automate master data loading after sandbox refresh

Test.loadData is used to load CSVs into an object during Test Class execution. This test data exists only in the eyes of the test class. In order to load master data using Apex after a refresh, is ...
0
votes
1answer
184 views

Org Data Update just after the sandbox refresh in FullCopy Sandbox

Our requirement is to update customer's email ID and Phone# to an invalid value in FullCopy sandbox during the sandbox refresh. Using PostSandbox refresh apex class we are updating the User email and ...
1
vote
1answer
511 views

Any good solutions to disable remote site settings after Sandbox refresh?

Has anybody come up with any automated solution for disabling remote site settings after a sandbox is created or refreshed? I'm trying to prevent situations where someone creates a developer sandbox ...
4
votes
1answer
90 views

How to permanently get rid of sandbox new/refresh email-address pollution with “@example.com”

When you create/refresh a Sandbox, all (but the refreshing) users email addresses get crippled with a nice "example.com". Using security codes via email, this basically breaks the possibility for ...
1
vote
2answers
156 views

Heroku Connect, Sandbox Refreshes and Synced Rows

I have a question regarding Heroku Connect rows and Salesforce Sandbox refreshes. Heroku Connect cares about how many unique rows are synced in a given period. Even if that row becomes unsynced, it ...
1
vote
1answer
224 views

Will the OAuth 2.0 token for Lightning Sync copied from/to salesforce sandbox environment?

We are going to connect salesforce Lightning Sync via OAuth 2.0 to our O365 applications. Will the issued OAuth Token be copied to a sandbox environment, if already present in the productive ...
1
vote
1answer
390 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
1answer
108 views

Need To Automate Sandbox Refresh Activity

We have received a requirement where we need to automate the sandbox refresh activity. Is there any way to automate the same? Thanks, Ravi Ranjan
1
vote
1answer
137 views

Way to automate a Salesforce reconfiguration post sandbox-refresh

I am wondering if there is a way to automate the process of reconfiguring a Salesforce sandbox to a specific configuration, post-refresh. Currently I have read about a python add-on to create a script ...
7
votes
3answers
879 views

Sandbox verification emails

Time and time again another user creates or refreshes a sandbox and I cannot log into it. I use my credentials from production, but a verification code is sent to the "myemail=gmail.com@example.com" ...
4
votes
3answers
1k views

Is it possible to just refresh records in a Partial Data Sandbox?

We recently purchased a partial data sandbox for a client and it works as expect which is great. One issue thats come up is that the client i actively updating data in production while we work on ...
0
votes
4answers
3k views

What exactly does refreshing sandbox do?

According to the (Salesforce help) page : Refreshing a sandbox updates the sandbox’s metadata from its source org. If the sandbox is a clone or if it uses a sandbox template, the refresh ...
3
votes
1answer
2k views

Sandbox refresh and manage packages

When we refresh sandbox all the metadata and some data is refreshed and it makes replica /subset of production. I have one managed package installed on my production (its not app exchange app but ...
2
votes
1answer
189 views

What happens to Email Addresses in Email Service of Full Sandbox after sandbox is refreshed from production and how to retain them

We have 2 Email Services each having separate Email Addresses created in Full Copy Sandbox. As Email Addresses are to be manually created(and not deployable) we created Email Addresses for these 2 ...
0
votes
1answer
41 views

Is a one off request/case possible to have a Full Sandbox 29 day wait waived?

We have a very important data migration coming up and I'd really rather not wait the full 29 day waiting period that Salesforce implements for a Full sandbox. Has anyone opened a request with ...
0
votes
1answer
408 views

Mass change sandbox emails without confirmation

How can I change User email's in a sandbox back to their production email in bulk? e.g. mary=company.com@example.com to mary@company.com We have several hundred users and would like to refresh the ...
1
vote
2answers
632 views

Custom Metadata records Sandbox refresh

If I create Custom Metadata records in prod, and then I refresh my sandbox, will the Custom Metadata records I created in prod now be in my refreshed sandbox? I'm considering migrating to a custom ...
1
vote
1answer
155 views

Pulling archived tasks when refreshing sandbox

I noticed that when we refresh our full copy sandbox, the archived task records from production are not brought over to the sandbox. Is it possible to pull the archived tasks during the refresh?
0
votes
2answers
493 views

Cloning Sandbox in Spring 18

Reference - https://help.salesforce.com/articleView?id=data_sandbox_clone.htm&type=5 How do you think it may impact the Release Process from dev to QA? Rather than moving code base for testing ...
0
votes
1answer
71 views

Salesforce Sandbox refresh

I have enabled Lightning functionality into eh sandbox with Lightning component But into the production we have classic version. Now if i refresh the sandbox then what happened ? Is there any kind of ...
2
votes
0answers
574 views

Managed Platform Event Trigger not working after Sandbox Refresh

We have the following scenario: We created a managed package that contains a Platform Event and an Apex Trigger subscribed to it and installed it at a customer Org. In the Customer Production Org we ...
3
votes
2answers
210 views

Hardcoded org ID in workflow rule changed on sandbox refresh?

I came across what seems like a very odd behavior today: There is a legacy workflow rule in my org that hardcodes in the production org ID in order to only run in the production environment. (The ...
0
votes
1answer
317 views

Salesforce Sandbox Context Metadata

Why there is no mention of Metadata for "Sandbox Context" anywhere in the Documentation? I only found "SandboxPostCopy Interface" where Sandbox Context is passed as a parameter. But no Documentation ...
0
votes
1answer
53 views

Can you do something with a sandbox before it's refreshed?

We are using an installed package with requires the creation of a catchall organisation, and for the id of that organisation to be added to custom settings. If that's not done then none of the ...
-1
votes
1answer
689 views

Apex code to update email IDs after sandbox refresh

Please help me how to write apex code to update the user's emails id with apex class which can be run after sandbox refresh. global static void run() { List<User> userEmailList = [select ...