Questions tagged [production]

An instance of the Force.com platform that has active paying users accessing business critical data

Filter by
Sorted by
Tagged with
89
votes
8answers
21k 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 ...
10
votes
4answers
17k views

How to delete a class from production using destructiveChanges.xml

Can any one tell me the steps to delete a class using destructiveChanges.xml
8
votes
4answers
2k views

Can I choose which records are copied in a Partial Copy sandbox?

We have a partial copy sandbox that we're using for development and testing. This is really helpful as some of our applications internally store Salesforce id's. However, there is a limitation with ...
0
votes
3answers
549 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
2answers
688 views

How to move from development to production [duplicate]

Hi We have some development in our org. Now we want to move this development to production. How to do this, i bit confused in this. Can anyone tell how to move from development to production. Thanks, ...
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 ...
2
votes
4answers
9k views

Copy Data from Production to Sandbox after sandbox refresh [duplicate]

We have a developer sandbox which is refreshed quite frequently. There are some some seed objects that need to have data so that the sandbox becomes usable. I am trying to develop a script which will ...
2
votes
3answers
291 views

Deployment from Production(Enterprise) to Production(Enterprise)..?

Hi i have one enterprise org where there is a lot of work including VF pages,triggers,reports etc...I want to deploy all the work to a new Production(Enterprise) instance..How can i achieve this...I ...
2
votes
1answer
1k views

sf:INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations

While deploying code in vsCode from sandbox to production I get the below error sf:INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations As per ...
1
vote
1answer
158 views

How to create a unmanaged Package from a production which has Person Account Activated?

I want to create a Package for all Objects from Production which has been activated with Person Account. when I try to create package(Unmanaged) with all Object it throws a Error like this If you ...
0
votes
2answers
61 views

Prevent users from logging in during production delivery

We will delivery in our production org and we want to avoid users to log while the time of reconfiguration and delivery. It is recommended to modify Login Hours but we have a lot of profile to ...