Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
22 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
26 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
51 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
32 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 ...
0
votes
1answer
28 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 ...
4
votes
1answer
57 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
46 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
50 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
79 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
30 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
49 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 ...
0
votes
4answers
97 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 ...
2
votes
1answer
85 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
19 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
152 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
220 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
61 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
0answers
19 views

Manual Sharing of owner removed after Salesforce Sandbox refresh

We have recently completed sandbox refresh but users in sandbox faced access issue, when we checked we found out that the manual sharing for the record owner is not copied over in sandbox refresh. ...
0
votes
2answers
287 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 ...
2
votes
0answers
123 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 ...
2
votes
2answers
90 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
91 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
0answers
27 views

Where can I find the feature or setting called Encrypted Fields Available in Full-Copy Sandbox?

I want to make sure that encrypted fields are not available in a full-copy sandbox, and I see that there was a feature introduced in Spring 2012 to address this, but I can't find any details on how to ...
0
votes
1answer
45 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
259 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 ...
0
votes
1answer
50 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 ...
4
votes
2answers
361 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
1answer
740 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, ...
1
vote
1answer
797 views

Refreshing Sandbox and Reconnecting Marketing Cloud environment (We have all live BU's in Marketing Cloud)

Are there any watch outs for when refreshing a Salesforce Sandbox Environment that is linked to a 'test' (Production type BU) in the Marketing Cloud. These environments represent our Sandbox set up. ...
0
votes
1answer
176 views

Sandbox refresh behavior of copied id's

I read the Salesforce documents around the data that gets copied when a sandbox is refreshed, but still wanted to make sure my understanding is correct on the list of items that are copied over when a ...
0
votes
1answer
17 views

Licensing for desktop application: determine the production organization id from a sandbox?

I am building my very first desktop application using c# and visual studio! It currently logs into an org through the Partner WSDL / SOAP API. But I have no idea how to license it! Ideally, I would ...
1
vote
1answer
333 views

Custom settings and NamedCredentials update after sandbox refresh

I have some Custom Settings and Named credentials configured since I make call outs to external systems. But every time I refresh any of my sandbox, I have to manually update the Custom Settings and ...
0
votes
1answer
45 views

Partial Sandbox: Copy the records that belong to certain record types of a standard object

Is there a way to copy just the records that belong to certain record types of a standard object? In my case the standard object would be Account. I cannot find anything in the documentation.
1
vote
3answers
497 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 ...
1
vote
2answers
343 views

How to automate data import on full sandbox refresh

I am involved in doing QA in a stage full sandbox environment. I am interested in being able to populate the sandbox with a small amount of consistent (I cant rely on production data) test data. Is ...
0
votes
0answers
31 views

Identify a successful Partial sandbox refresh

I have run a Partial Sandbox refresh and it has been going on for almost for 4 days. There is no information for the "finished" and the "activated" columns. Additionally, the button Del, Refresh are ...
7
votes
3answers
514 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" ...
0
votes
1answer
100 views

chatter groups are missing after sandbox refresh

After I refresh sandbox (developer & full) i noticed that chatter groups are not showing up in Sandbox. do they not get copied from production ? I was expecting at least chatter groups to show up ...
0
votes
0answers
25 views

How to delete invisible scheduled sandbox jobs?

I refreshed a sandbox recently. Now I'm trying to deploy something in it. Several tests are failing with the following message: "Job X" is already scheduled for execution. The problem is that ...
3
votes
1answer
361 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 ...
2
votes
1answer
35 views

Cleaning Salesforce Production Environment

Is there any way to delete and reset the data(Accounts,Organization,Profiles,Workflows,Rules etc) in Salesforce production environment.Currently I have planned to do it manually through DataLoader....
1
vote
1answer
344 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
206 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 ...
2
votes
0answers
72 views

Locating execution logs for SandboxPostCopy script?

I have a Apex SandboxPostCopy script that should have been executed when I refreshed a sandbox recently, but it appears to either be not executing or failing to execute properly. Is there anywhere I ...
3
votes
2answers
294 views

What Happens to Email Id and Username When Refreshing a Partial Copy Sandbox?

I wanted to know what will happen to my email id after refreshing my partial copy sandbox. I also want to know if usernames will be same as production or not?
0
votes
1answer
119 views

API setup Considerations with Informatica - Sandbox Refresh

I am trying to set up an API based integration b/w SFDC and Informatica on my Sandbox. What considerations do I have to keep in mind about Sandbox refresh? e.g. If the sandbox gets refreshed, does ...
1
vote
0answers
33 views

Is it possible to adjust the login policy when using the SandboxPostCopy interface?

We have single-sign on enabled and for our production org it is very useful to have the My Domain settings set to prevent login from login.salesforce.com. However every time we create/refresh a ...
1
vote
1answer
323 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
0answers
144 views

How to setup SandboxPostCopy actions

I had this idea that I would have a custom setting that could store the date/time a sandbox was refreshed. Then I could create a simple vf page to sit in the sidebar and give me a quick glance of the ...
3
votes
1answer
322 views

Salesforce Sandbox as a backup

Can a Full Sandbox be used as a backup to your production environment? When you start a copy, if changes are still being made in your production environment are these changes also being copied into ...