Stack Exchange Network

Stack Exchange network consists of 175 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 [production]

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

1
vote
1answer
88 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 ...
0
votes
1answer
38 views

System.QueryException: List has no rows for assignment to SObject - Sandbox to Production in salesforce

I am new to Salesforce. I am creating an application where the user will email the JSON data to insert that data and attachment to the Lead Object using Email Services. It is working fine in Sandbox ...
0
votes
0answers
31 views

null argument for JSONGenerator.writeStringField() in Production. But working fine in Dev Ord/SandBox

I am not getting any idea how to deal with this situation. I am keep getting the same error however I change the code and approach the JSONGenerator.WriteStringField(). It is keep pushing error in ...
0
votes
0answers
29 views

Load report-meta directly in production (testLevel problem)

Since in my org we made some (heavy) changes to the custom objects, we also had the need of redoing all the reports (yeey, such luck!) So what I did, was simply to download all the reports locally, ...
0
votes
1answer
104 views

Scratch Org Login and Pushing to Production

I have been having issues setting up a scratch org. So I decided to try out (in Intellij/IlluminatedCloud) creation of a new project under the Sandbox Organization Type. I used my scratch org log in ...
0
votes
2answers
54 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 ...
0
votes
2answers
44 views

Running an APEX class in Production, what are @isTest?

I'm trying to learn about apex test classes, I have attached the below code. I can't execute this in production developer console, but works fine on my sandbox. I was asked to write a @isTest, is this ...
0
votes
1answer
28 views

Changing sub domain name

I want to create tab for lightning components but I am unable to do so as I saw it is mandatory to change domain in order to create lightning component tabs. Currently my org is having various ...
0
votes
1answer
34 views

Deploy opportunity change from sandbox to production

For a project the client has multiple changes including apex files, some metadata changes, and a few custom object changes. But they have also modified the Opportunity table and added two new fields. ...
0
votes
1answer
42 views

Questions regarding deploying visualforce pages to production

I’m new to Salesforce and this is my first project. My project requirement is about creating customer service related case through a Vf page on the case object. I’ve created two vf pages one for input ...
1
vote
1answer
38 views

Salesforce Global Values organization-wide (sandbox vs. production)

Is it possible to add custom global values in Salesforce so that we can use that global value in any apex class or controller? And this values will be Ids of custom objects, so they will be different ...
0
votes
2answers
934 views

What are two ways a developer should deploy code from a developer org to an unrelated production org?

I am preparing myself to the developer 1 certificate and I encountered the following question: What are two ways a developer should deploy code from a developer org to an unrelated production org? ...
0
votes
1answer
24 views

Entity scope parameter: objectName is invalid:

When i moved community to production and trying to access the one of the header tab than i am getting an error saying "Entity scope parameter: objectName is invalid:", when i tried to look around it, ...
1
vote
1answer
77 views

Why does Dataloader.io not recognize my custom fields?

I added the fields "External ID" and "Display URL" to my Product object. They are visible for all profiles and not read-only. They are visible on the product layout, and shown when I do a "New ...
0
votes
1answer
153 views

Not able to see login button in PROD except for two users

I have a PRODUCTION org with unlimited edition and I am trying to login as another user but I am able to see login button for only two users and these users are not system admin. Login button is not ...
2
votes
1answer
173 views

Merging sandbox to production - SFMC integration

We have integrated SFMC with our SIT SFDC sandbox. But what will happen with the integration when we merge to production? The integration is linked to the SFDC Org ID, so we assume that we will lose ...
2
votes
1answer
114 views

Advice on recompilation of production classes

I have an APEX Class that needs some updates, that is on version 18. When I make the updates, the version is also updated to the most recent (v41). When I try to push to production I get errors saying ...
-2
votes
1answer
66 views

Copy Data from Production/Sandbox to Sandbox after sandbox refresh in salesforce [closed]

We need to load data from sandbox to sandbox for testing & Dev proposes. Right we are using Microsoft ETL for this purpose, but that is too lengthy and we need to maintain metadata after every ...
-1
votes
1answer
323 views

Is it possible to copy fields from Sandbox to Production?

I have had to manually add 100+ fields (don't ask...) to a clients sandbox environment in order to test some updates. However now that the testing seemed to be fine I am tasked with replicating all ...
0
votes
1answer
18 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 ...
4
votes
2answers
263 views

Formula field: Distinguish between PROD and FULL copy sandbox

Inside a formula field I want to be able to determine whether the org is the production org or a full copy sandbox. After researching I came up with this: IF($Organization.Id = 'XXXXXXXXXXX', "PROD", ...
0
votes
1answer
194 views

What are the metadata objects that does not require the run test classes in Production

I'm trying to find the list of all the metadatas objects that we can deploy to production without having to trigger the run of all test classes For example I know that we can deploy ListViews, ...
0
votes
2answers
441 views

How to deploy only changes to other salesforce org using ANT migration tool instead of deploying all data?

First time i'm deploying the all the salesforce org details from one org to other. for the secong time i have changed something and deploying it again deploying all details instead of ...
7
votes
2answers
322 views

How to migrate entire production org to a new production org?

For legal reasons we have to clone a salesforce production org (i.e. migrate entire org to a new one - recreate all the standard and custom metadata, data, managed packages, users, integrations etc) ...
0
votes
1answer
61 views

Validity of the changeset. What would happen if components related to a changeset removed in the org?

I have created a changeset in the sandbox and upload it to the production org. In the production org, I have validated and confirmed that will deploy in that org without any issues. Now, my question ...
0
votes
0answers
108 views

Impact of validation of package.xml having Sharing Rule

I am planning to deploy few sharing rules on Account, Contact object from UAT to PROD through package.xml. Before actual deployment, I would like to just validate the package against production ...
1
vote
0answers
25 views

Different community paths in different environments

I have different URL's in my sandbox and in my production environment. It is causing problems with my static resources in the css files. In my sandbox the community url is https://mydomain.com/...
0
votes
1answer
30 views

Salesforce Production Deployment Test Class Error out

As we all know for production deployment , Test classes will be automatically running , right !!! . We have issue with that . Half of our test classes are failing because of access issues . Things ...
1
vote
1answer
136 views

Run scheduled batch in sandbox to change data in production

I have to run a scheduled batch class in a sandbox to update records in production. Please let me know if that is possible some way. I can't create the batch class in production due to some business ...
0
votes
2answers
41 views

Is it possible to change the domain Url for the Production org?

Our project manager bought the enterprise edition of Salesforce for our project with some random domain name(not relevant to theme of the actual project) which looks out-of-context. I would like to ...
0
votes
1answer
167 views

Organize Marketing Cloud instance [duplicate]

I am trying to figure out the best way to organize a Marketing Cloud instance. I want to get the best way to do so as the Multi-org is not an option (Data streams and Journey Builder do not work) and ...
0
votes
2answers
451 views

community lightning force:recordData

I am working on creating a community application built using lightning aura components. I recently saw lightning data service although it is mentioned that LDS cannot be used in community. I want to ...
0
votes
1answer
32 views

Can users send customizations from trialforce org to their production?

Is this possible to do? We have a user with apex customisation wanting to transfer them from trial org to production. Change-sets didn't help on this.
1
vote
1answer
58 views

Returning PRODUCTION Org to Virgin Status Without DEVELOPER Tools [duplicate]

I have a scenario: Previous consultants and users had initially done some work inside our Production org (we have NEVER DEPLOYED to Production - they simply started to do the setup of this company's ...
1
vote
0answers
29 views

Visualforce page functionality not preserved through change set

After a couple of weeks of developing and testing a visualforce page, we decided it was time to go live (rather, it was time for everything to start going wrong..). After pushing the custom objects, ...
0
votes
2answers
33 views

Search in all Production Orgs at once and Display in one single org

I have an urgent requirement, my client has 3 Production orgs due to the versatility of business, sales users search for an account name eg: 'Johns Garage' in one Production org, users should be able ...
4
votes
2answers
251 views

Salesforce development and security review lifecycle

I'm a bit confused about the number of orgs needed (and their purpose) for a development and security review process for a managed package. Do I need separate orgs for development and packaging? ...
0
votes
2answers
396 views

Deploy the updated Apex class from Sandbox to Production

I am very new to Salesforce. I was wondering what is the easiest way to deploy the updated Apex class from Sandbox to Production? I just made some small changes in one of our Apex classes. Since I ...
3
votes
1answer
350 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 ...
2
votes
1answer
89 views

Whats the best way to clean the production environment?

I have the Production environment with full of unwanted configuration. I have developed and developing things in my Sandbox environment and I will start pushing that to production later sometime next ...
0
votes
1answer
193 views

Deploy to production server failed due to code coverage error

I have deployed two new apex classes to production via the change sets and am trying to use the IDE to delete the other classes from production that are no longer needed and are ruining the code ...
0
votes
1answer
31 views

Changeset with same fields of target system

what happens if I upload a changeset with the same fields as the target system? It validated fine but just curious to see what happens... Does it update the create date?
0
votes
1answer
376 views

Code coverage warning: Test coverage of selected Apex Class is 40%, at least 75% test coverage is required

All of test classes have code coverage more than 90% in lower environment but when our admin move all test classes and apex class to Production.It display warning message mentioned in heading and also ...
7
votes
2answers
889 views

Disable trigger in production. What are the consequences?

The salesforce documentation says: How do I disable a Trigger in a production environment? You must consider the consequences of disabling a trigger in the production environment during work ...
2
votes
3answers
963 views

Production code coverage error on deployment but in sandbox coverage is above 75%

I'm trying to deploy a change set to my production org. I'm running only tests for the test classes I'm including in the package. But there is still one class with coverage below 75%. In my sandbox, ...
0
votes
1answer
130 views

Continuous Integration in Salesforce for Packaging Orgs with Jenkins, Bit Bucket

We have different Packing orgs in our company with different functionalities. we want to setup continuous integration with these orgs and Jenkins server. Could someone suggest me how to set up CI for ...
3
votes
1answer
82 views

How do I return a dynamically casted list?

So I have the below code which I created that dynamically creates and runs a query, and stores it within a type casted List. But I cannot figure out how to get it to work with the initial declaration '...
0
votes
1answer
914 views

How to develop Apex in Professional Edition 30 days trial?

I want to do some practice with deploying changesets. I have sighed up for 30 days trial of Professional edition here http://www.salesforce.com/ap/crm/editions-pricing.jsp I created 1 developer ...
8
votes
4answers
1k 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 ...
-1
votes
1answer
299 views

Page loading problem in production environment [closed]

we have implemented a visualforce page that displays 500 records along with images and map it is loading properly in sandbox but in production it is loading very slow.please see my page screenshot ...