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
0
votes
1answer
34 views

Can I delete a custom field and a custom object manually in the production org?

I know that some options that are in the sandbox might not be in production. I'll have to delete a Custom Field and a Custom Object in production org. I need to know if it's possible to do manually ...
0
votes
1answer
23 views

Impact of uninstalling installed package from production on sandbox?

I have to remove all of the installed packages (mostly managed packages) from Production. Reason: Some of the packages are unwanted now and for others a different package version(not higher) is ...
1
vote
1answer
38 views

How do I prevent developers from deploying directly to Devhub and instead push the code to sandbox?

I have a production org that is the Devhub. I have a full copy sandbox. I want that the developers that are working on their respective scratch orgs, don't deploy their changes to production directly. ...
0
votes
1answer
27 views

Deletion of Class / Trigger in PROD

I try to delete a trigger and a test class in prod. However, when I use the command: sfdx force:mdapi:deploy -c -d destroy -w 20 I get the error: Here my packages in the folder "destroy" ...
0
votes
0answers
58 views

Production Debug logs

I would like to get schedule apex logs on production environment. The apex classes belongs to the inbound change set deployed on production environment. I have enabled the debug logs for the time ...
0
votes
0answers
26 views

What would make the same code produce different results in a different sandbox?

I have this test class for a vf controller that runs ok in one sandbox but in the other there is an Id field that is returning null. What am I missing? The reason for creating a second sandbox was to ...
1
vote
0answers
20 views

System.NoAccessException: Script-thrown exception while trying to access record type in managed package

We are encountering a problem in our production environment when trying to run the following line of code in developer console to retrieve the record type. The app is a managed package but we are ...
0
votes
0answers
358 views

Deployment to Production org through VS code [duplicate]

I am trying to deploy the components to production org through VS code. I am getting the below error "sf:INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production ...
0
votes
1answer
40 views

Is it possible to return Salesforce to previous version?

We found that the production org of one of our clients was updated to Winter'21 today. After this uest users can't log in to home website (made of Aura components). Here is what cause problems: https:/...
0
votes
1answer
30 views

Do you need to create new outbound changeset when components are modified?

Let's say I have created an Outbound ChangeSet with a few components like Page Layouts and Lightning Flows. I haven't pushed the change set to Production yet. In the meantime, I decided to make some ...
0
votes
1answer
45 views

My production instance has moved from EU10 to EU41, does the IP change too?

If yes, how can I get the new one?
0
votes
1answer
216 views

Copy all Metadata from Sandbox to Production [duplicate]

How do you transfer all setting & metadata (not data) from a sandbox to production? I have just joined a project which has been tested and approved by the client. My first job is to move ...
1
vote
2answers
3k views

Property 'itemInstances' and 'processOrder' not valid in version 48.0 error when deploying in Production, even though Production is 49.0

When trying to deploy the converted metadata using VS code sfdx force:mdapi:deploy deploy to my Production Org and I get the error Property 'itemInstances' not valid in version 48.0 and Property '...
0
votes
0answers
41 views

Your code coverage is 73%. You need at least 75% coverage to complete this deployment [duplicate]

Already run test but no luck. public class UNILAB_NMAP { /* wrapper class to store required properties for "lightning:map" component' */ public class accountLocationWrapper{ @...
0
votes
1answer
30 views

List of Elements that are editable in Salesforce Production Environment

Is there an article or a document by Salesforce where I can find a comprehensive list of elements or types that can be modified in Salesforce Production Environment? Thank you!
0
votes
0answers
104 views

Package Retrival is not working

We are trying to retrieve the package from Salesforce Developer org While performing the retrieve we are getting errors for the below components. [sf:retrieve] package.xml - Metadata API received ...
1
vote
2answers
484 views

Production Deployment of CustomLabel using VS Code (INVALID_ID_FIELD: Source validate did not run tests in the org)

I am trying to deploy customLabels to the production org. But, I am not able to deploy it as it asks to run the test classes. As we know the custom label is just the configurations, not the codes. So, ...
1
vote
2answers
175 views

Is my after insert trigger efficient and safe to port to production?

Recently I created an after insert trigger to update a field in my sponsorship object. it works so far in sandbox and has passed the unit test that I have created and has 100% code coverage. here is ...
2
votes
1answer
1k views

Delete classes/trigger from Prod via VSCode

I need to delete classes and a trigger from prod via VSCode. I have retrieved the according classes/trigger via package.xml into VSCode. There is the command "SFDX: Delete This from Project and Org", ...
0
votes
0answers
421 views

How to use “NameSpace” on Visualforce Page in salesforce?

I have facing problems on the VF page when I've to use StanderdController on VF than how I get "namespace" before the default field in a package org. Here "Charge_Item__c" is a custom object in ...
1
vote
1answer
504 views

I do not have Prod access in my org. I want to know can we edit Lightning component in Production?

Can we edit Lightning component in production?
2
votes
3answers
757 views

LWC without APEX: sfdx force:source:deploy into Production

I have a simple LWC component that is only made up of html, javascript, and css (no APEX). When deploying to production via vscode, I am confused on what I am suppose to be testing as I receive the "...
0
votes
2answers
139 views

Can I reuse/ edit the Batch Apex code on sandbox that was deployed into production environment-

I have a batch apex class that deletes all the records from a custom object and it is deployed from sandbox to production. Now I have to write an other batch apex to delete all records from other ...
1
vote
1answer
51 views

Custom Notification now showing in production

I recently played around with the process builder in a sandbox, and managed to create a scheduled event that would send a custom notification to a user. I finally have a purpose for this feature, but ...
0
votes
3answers
164 views

New instance of Custom Object

I'm trying to create a new instance of an existing Custom Object. I have modified an existing object in the sandbox environment and want to preserve the original object when I push to production. ...
9
votes
2answers
11k 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
246 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
1answer
611 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
3answers
279 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
227 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
46 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
438 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
203 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
97 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
3k 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
28 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
299 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
1k 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
298 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
327 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
115 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
2k 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
20 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
3answers
1k 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
624 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
965 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 ...
8
votes
2answers
2k 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
105 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
402 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 ...
3
votes
1answer
66 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/...