Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen 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
2
votes
0answers
101 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
439 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
146 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
42 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
437 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
180 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
398 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 ...
0
votes
1answer
85 views

Will Change set delete post monthly refresh

We have a scheduled monthly refresh which pulls the code from Production and push on all the Sandboxes. This way we have the latest code same as Production. I have a deployed a change set on one of ...
0
votes
2answers
120 views

What is the best way to check if Sandbox was deleted if I have creds only from this Sandbox?

For example after refreshing of Sandbox - I need to know that first version of Sandbox is not longer exists. In such case any REST request return 401 (like when session id is expired) when any SOAP (...
0
votes
1answer
200 views

any insight into why activities that are in prod are missing in UAT?

Activities are missing While refresh of full copy sandbox. It exist in production but missing in full copy sandbox.
0
votes
1answer
225 views

Salesforce Community Portal

I have a Salesforce Community Portal. On the production 20 Users are using Community Licenses. I have recently got the access to a refreshed sandbox and there the number of Community Licenses used is ...
3
votes
2answers
2k views

Backup of Sandbox before refresh

I am new to salesforce.Recently i have created an application in salesforce Preprod instance which includes both standard and custom objects and created custom fields and some validation rules too. ...
0
votes
1answer
759 views

Can partial sandbox objects hold more than 10K records?

Two questions: If an object in production has more than 10K records, can I migrate the remainder or is that a hard limit? If an object has less than 10K records, will all of the records come over ...
1
vote
1answer
106 views

Sandbox provisioning taking over 48 hours [duplicate]

one of our customers requested a dev sandbox refresh on Monday (over 48 hours ago) and it is still listed as "Pending / In Queue" on CS50 (original org is on AP2). Is this normal on CS50?
0
votes
0answers
221 views

Post Refresh :- Sandbox Issues

I have been experiencing some issues for quite a while now after I refreshed one of the organisations sandboxes. We are using soap api to push external information into salesforce, but our staging ...
1
vote
1answer
178 views

How to write a apex class for remove production setting while refreshing the sandbox from production

can you please suggest me how i automate the manual customization after refreshing the new sandbox from the production to remove some production setting through apex class. Noe a days in latest ...
6
votes
0answers
1k views

Email Deliverability - how to change it programatically?

In all new sandboxes "Email Deliverability" is set to "System Email Only". I am writing a SandboxPostCopy class to run for all new sandboxes, and want to use that class to change deliverability to "...
0
votes
3answers
107 views

Outbound email not sent when executed from post sandbox refresh script

System.resetpassword(Id iduser, true) - This method throws exception & the outbound email not sent when executed from post sandbox refresh apex class. System.UnexpectedException: ...
1
vote
2answers
620 views

Sandbox copy: does it copy the data?

Does the new Summer '16 Sandbox copy feature also copy the data ?
2
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 ...
7
votes
1answer
581 views

SandboxPostCopy and Organization.IsSandbox

Could you tell me what would be the value of IsSandbox if I specify the following class during sandbox creation? Will it be 'true' or 'fasle'? global class HelloWorld implements SandboxPostCopy { ...
4
votes
0answers
206 views

Managing certificates programmatically in Salesforce Org (after sandbox creation/refresh)

I was trying to find some information on feasibility of creating and deleting self-signed certificates in Salesforce Org programmatically, which could be incorporated into post sandbox creation/...
2
votes
3answers
196 views

How to automate backup of records before sandbox refresh?

I want to automate the records backup process from Standard and custom objects before initiating sandbox refresh & reload it again once the refresh completed. kindly let me know the ways to ...
3
votes
1answer
694 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, ...
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 ...
1
vote
1answer
188 views

How to do sandbox refresh from production

We have four sandboxes attached to production.If buisness says refresh from prod,what does that means,are they refreshing all code from prod to pfix.How will they do that.
15
votes
1answer
1k views

What is the purpose of “ON DEMAND REFRESH” in Salesforce Sandbox Refresh Screen

I had a requirement of creating one sandbox today for development. I went to my production org and created a new Developer Sandbox with 200MB storage limit. When I clicked on create, the sandbox was ...
11
votes
2answers
3k views

Run Script After Sandbox Creation and Refresh

With the Spring '16 release, there is new functionality where we can set a script to run after refreshing a sandbox. In the documentation it gives an example where it prints the three context ...
1
vote
0answers
253 views

How to update Email-To-Case Settings Email Address

I want to update email address associated with email to case settings after refresh in my sandbox. I want to complete this using apex code, is there any method to achieve this?
4
votes
0answers
160 views

Sandbox Refresh/Create and Robots.txt

Production has a robots.txt file setup and associate to the public facing site. Now if a sandbox is refreshed or created is the live robots.txt associated to the site in the sandbox or is the default ...
2
votes
1answer
64 views

Sandbox refresh regressed version

Our Sandbox was upgraded to Spring 2016 release in Jan 2016.Our production was still on Winter 2016.We refreshed our sandbox , which took our sandbox to winter 2016 as our prod was still on winter ...
5
votes
2answers
251 views

Attempting official deploy process with single sandbox may reset/remove all existing work?

I've been working on a small consulting project for ~3 mo (100 hours), mostly Apex with a little configuration. I used a sandbox per recommendation. I started to work on the deploy process today and ...
1
vote
1answer
1k views

Cannot login into Sandbox after refresh

I have turned on identity connect in production and turned off the ability for people to log in through any other means other than identity connect. On refreshing my sandbox, I cannot login into my ...
0
votes
0answers
423 views

How to disable access to sandbox to one user in sfdc

I am new to sfdc. We have two administrators In my organisation and we have only one developer sandbox is available.I refreshed that sandbox few-days back Before refresh the sandbox it is used by ...
0
votes
3answers
566 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 ?
2
votes
1answer
1k views

Automating Sandbox Refresh

I have tried looking in the SFDC documentation, but I haven't really found anything that is useful. Does anyone have any experience automating the refresh of sandboxes? One approach I was thinking ...
7
votes
1answer
982 views

Developer Sandbox Refresh Status Stopped

UPDATE: Dev sandbox refresh is completed after 5 hour in stopped phase. But I'd still like to now what causes this. Today I tried to refresh a developer sandbox in our org. First it was in queue as ...
0
votes
1answer
88 views

Number of developer and Sandbox edition in use

I have a unlimited production license. I am not sure how many developer org and sandbox box are associated with my production org. How can I get to know these numbers?
7
votes
1answer
701 views

Best Practice: Refresh Cadence

Background We have a fairly straightforward org structure: Our Stage environment is a Full Sandbox. All sandboxes downstream of that are Developer Pro. We added the SubDev sandboxes very recently ...
0
votes
0answers
1k views

Create user in existing sandbox from production login

I have production login credentials. I want to reset password of an User in an existing sandbox from production. If want possible I would like to create an User in sandbox from the production login. ...
1
vote
2answers
170 views

Regarding Sandbox Refresh

Currently, I've to refresh one of my Developer sandbox as it has become little outdated. But I don't want to lose data. This is because There are too many objects having relationships. So creating ...
2
votes
0answers
119 views

Sandbox name not appended to usernames after refresh

We have a new fullcopy sandbox, created less than a month ago. I've noticed that significant number of users did not get .sandbox_name appended to their usernames. Both Created Date and Last Modified ...
1
vote
2answers
561 views

Do we have any automated way to restore Sandbox data after refresh?

Can we have any automated way to restore the developer sandbox Data (by data I mean the object records and not the metadata) after it has been refreshed ? Or any way to load partial data from ...
1
vote
0answers
108 views

Something wrong with URLs after sandbox refresh

Before refresh, an Apex REST service worked with the URL below. https:// DOMAIN_NAME/CUSTOM_PATH_A/services/apexrest/REST_SERVICE_NAME This URL is to expose data in XML format for other system. ...
4
votes
1answer
147 views

Partial Sandbox data segementation?

Someone knows the logic behind the dataload of a Partial Sandbox? In Salesforce documentation there is only something about the creation of the sandbox template, but not about how Salesforce chooses ...
3
votes
1answer
2k views

Why is my Lightning Domain Not Available?

After performing a Sandbox refresh this afternoon, I continued working on a Lightning app I am building. When I tried to preview the app from Developer Console in my Sandbox I received the following ...
2
votes
1answer
693 views

Sandbox refresh creating inaccessible scheduled batch job

I have a batch job that reschedules itself on completion so that it can essentially run indefinitely. Within its finish method it calls system.scheduleBatch to start itself again after a defined ...
3
votes
1answer
1k 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 ...
1
vote
1answer
223 views

Refreshing Sandbox

My company has production(enterprise edition) and developer sandbox. The developer sandbox is last refreshed in December. In the last 5 months many changes are made in production(eg: custom objects,...
5
votes
2answers
181 views

What's the cutoff point for data when I refresh a Full or Partial copy Sandbox?

When I refresh my Full Copy Sandbox, I press "refresh" and it takes a while to build the refresh. Users are doing things to the database all the time. So some records change during the build of the ...