Deployments in Salesforce incorporate any action that needs to be taken to get a system from one organization to another, be it a sandbox to production, sandbox to sandbox, or even developer org to developer org.
4
votes
1answer
66 views
Unable to deploy httpCalloutMock based code to production due to NPE that does *NOT* occur in sandbox
Good morning. I've been beating my head against this for the past 24 hours.
The following three links are:
RestClient class - https://gist.github.com/2a2dd1e1b227dac24e80
RestClient Testclass - ...
2
votes
1answer
69 views
is there any way to show a single VF page as related list across all objects?
Is there any way to show a single vf page as a related list (inside a detail page layout) across multiple / all custom and standard objects like notes and attachments?
I have integrated Salesforce ...
3
votes
1answer
32 views
Help on reducing deployment time
We have a unique situation. We have a force.com site implementation where we have around 150 visual force pages and around 250 apex classes. The classes are tightly coupled from an architecture ...
2
votes
2answers
71 views
Force.com IDE: migrate custom object from one org to another
I am new to Salesforce.
I created a few custom object, triggers and classes under one Saleforce entity. Later, I downloaded them all to IDE project. I want to migrate them to another Salesforce ...
3
votes
1answer
48 views
custom object fields not showing up after deployment
I created a changeset and deployed around 40 custom objects to another sandbox. On the destination sandbox, the custom fields dont show up on the page layout when i edit or add a new record for the ...
1
vote
1answer
51 views
Deploy VF with RemoteAction
I have a visualforce page which calls methods tagged with @RemoteAction. The methods are in an extension class which is public, like methods. The class is the extension used in the page. In sandbox ...
4
votes
3answers
86 views
Do I need to test other unrelated classes when deploying a new class?
I have updated a class in a sandbox and successfully tested it. However, when I try to deploy it to production I am getting errors of tests which are failing for other classes which this class has ...
4
votes
3answers
66 views
How to dynamically update custom links between sandbox and production?
I have a custom link in my sandbox: http://cs7.salesforce.com/00Q/e?name_salut....
However, when deploying to the production, the link is still pointing to the sandbox, while the production is at eu1 ...
3
votes
1answer
27 views
Deploying From Sandbox (Enterprise) - loss of permissions, field security, etc
I have been reading up on this particular area of concern and from what I'm reading, it sounds like the solution I've been creating for the past two weeks is going to be a nuisance to deploy from ...
2
votes
1answer
32 views
Where to check the deployement
I have moved a custom object from one Developer Edition to other DE using Force.com IDE. Where can I check this deployment's status?
Can anyone tell how to resolve this?
11
votes
3answers
122 views
Deploy to Production - Cancel Deploy After Test Failure
I am using the Ant Migration Tool for deployments. While utilizing this tool, all deployments are visible under the Monitor Deployments page. In a client's production instance, they have more than ...
3
votes
1answer
51 views
How to view the detailed debug log of the change set validation in production
I pushed a changeset from stage (sandbox) to production. Everything worked fine in stage but in production it didnt. It just says "Test Coverage of Selected Apex Trigger is 0%, at least 1% test ...
5
votes
1answer
80 views
sf:retrieve gets a file, but sf:deploy can't find it for the deploy?
I have the following set up in my build.xml file:
<target name="retrievePackage" description="Retrieves the specified package from the specified organization. Pass the name of the deployment file ...
2
votes
1answer
28 views
Enabling Case.IsSelfServiceClosed on Dev Org?
I'm deploying a bunch of meta data, including profiles from an EE to a Developer org. I'm currently running into a dependency in the profiles referencing Case.IsSelfServiceClosed . it doesn't exist ...
4
votes
1answer
55 views
What is the Deployment Testing Scope
I have a question related to Salesforce.com Deployment. When we try to Validate/Deploy a new Change Set, am I right when I say that it will execute every single test affected by the Apex class / ...
2
votes
2answers
68 views
Is an Inbound Change Set automatically deployed if it contains just tests
I deployed a Change Set containing a single test from a sandbox to production. I received an email that states the Change Set has been successfully uploaded.
When I inspect Inbound Change Sets page ...
7
votes
1answer
450 views
How to reduce the test class execution time while deploying?
I have optimized almost all my test classes but the "Run All Tests" execution time is still not reduced.
I ran the tests in my full copy sandbox and it took 28 minutes. There are about 464 test ...
4
votes
2answers
78 views
Profiles promoted through change sets appear to work only if profile already existed in target org
My experience has shown two distinct behaviors.
Case 1:
Placeholder Profile "Profile 27" created in production.
Production org copied to Sandbox. Development and config occurs in sandbox. Change ...
3
votes
1answer
76 views
Ant Migration Tool - Order of Package.xml File Matter?
Does the order of the package.xml file matter? For instance:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
...
1
vote
2answers
80 views
Why I can edit an apex class in sandbox, but not production. What works in sandbox fails to deploy in production.
I installed an unmanaged app (by @michaelforce http://goo.gl/8rx7t) to enhance the "Add Products to Opp" page. It works great in both Prod and Sandbox.
However, I need to add the Discount field to ...
0
votes
1answer
35 views
Deploy Selected Classes with Ant
Supposing you want to deploy only selected classes using ant from the force.com ide to various orgs. This can be tricky because you need to ensure both your package.xml and your payload (either your ...
0
votes
3answers
494 views
Generating package.xml for deploying with Ant from Eclipse
I'm using Ant to deploy from within Eclipse and facing a challenge of having to manually manage my package.xml files.
Currently I am unhappy that I a) have to manually manage my package.xml entries ...
0
votes
1answer
28 views
How to use the Migration Tool with Single Sign On?
I've used the Ant Migration Tool previously, but only in an Org that allowed a username/password login. Now I'm trying to get it to work for deployment to an Org that uses single sign on, but I can't ...
1
vote
1answer
87 views
Deploying source for a Managed Package to new development environments
Our Managed Package is quite large and we are looking to spin up a couple of new Developer Edition environments for our developers. I'm wondering how others are managing the initial metadata ...
3
votes
7answers
511 views
Deployment with Force.com IDE Taking Forever
We're experiencing extremely long deployment times even when deploying single classes using the force.com IDE plugin to eclipse. The deployment takes up to 1 hour yet running all unit tests from the ...
7
votes
3answers
169 views
Can the PackageVersions element of the metadata be automatically updated
I'm working on an application that consists of a base package and an extension package. Every time I update the base package in the development environment, I have to change the ...
2
votes
2answers
81 views
How do I deploy a changeset from Sandbox to UAT sandbox to Production?
I want to create a deployment chain where I configure a changeset in a DEV sandbox, deploy to UAT (where it can be tested but not changed) and finally deploy that same changeset from UAT to ...
3
votes
2answers
260 views
Object Deploy fails with: “duplicate value found: <unknown> duplicates value on record with id”
When I try to redeploy an object that exists in source and destination orgs, the deploy fails with the cryptic and useless error message:
duplicate value found <unknown> duplicates value on ...
2
votes
1answer
105 views
Deploy long assignment rule from sandbox to production?
What is the easiest way to deploy long (~100 steps) assignment rule from sandbox to production?
Edit: Currently it is not possible to automate this. What I am looking is for best practices to reduce ...
1
vote
2answers
121 views
Deploying an Apex Class for a Custom Button - Too Many DML Statements Error
I am attempting to deploy an Apex Class from a sandbox environment to a production environment of Salesforce and I am having issues with the deployment. I am very new at this, so please forgive my ...
3
votes
3answers
101 views
Adjust logging levels during code deployment?
Is there a way to adjust the various logging levels when deploying code to production through the IDE? The log is being truncated and I'm not seeing error details that are preventing my deployment.
...
1
vote
1answer
112 views
Metadata API-based deploys hang in “queued status” since 30.11 (cs7 & cs8 sandbox) [closed]
Is anybody else experiencing this?
Several sandboxes in our Unlimited Edition seem to be having issues with deployments today (tested from Eclipse IDE and Migration Tool). The deploys just hang in ...
5
votes
3answers
392 views
Deploying Profiles / Permission Sets that include object & field permissions for Managed Objects
Anyone know if it's possible to deploy profiles/permission sets via Eclipse or an Unmanaged Package that contain object & field permissions for 3rd party managed objects?
I'm trying to deploy a ...
3
votes
3answers
235 views
Can't deploy org-wide permission set with ant
I have created an org-wide permission set (i.e. not tied to a specific User License type) and am trying to deploy the permission set using ant (I just downloaded the latest .jar file, 26.0) but I'm ...
5
votes
2answers
146 views
Cannot edit Deployment Connections when given rights through a Permission Set
The default System Administrator profile does not allow for creation of Change Sets and Deployment Connections. At one time we set up a clone of System Adminstrator with the following permissions ...
2
votes
1answer
128 views
Contents of the metadata deploy zip file to delete a class in a production org
I'd like to use the metadata API directly to delete a class from a production Org.
In addition to deleting the class my goal is to learn about using the Metadata API. Hence
I want to avoid using the ...
1
vote
2answers
101 views
Failure in pkb_Controller when running the unit tests on SalesForce
We are attempting to deploy some code into a production SalesForce instance. But deployement fail because already installed third party packages are failing the unit test requirements. We get the ...
4
votes
2answers
271 views
Can't install managed package because packaged permission set seems to have lost a read permission
I developed a Managed Extension Package. When I try to install it or create a patch org for it, this fails with no error but the note to call Salesforce.
Support told me that it fails due to:
...
4
votes
2answers
312 views
1.how to stop run all tests? 2.validation running for about 6 hours in production. how to stop it?
How to stop run all tests?
I have clicked run all tests in my sandbox and usually gets completed in about 15 minutes. Now its running for about an hour and still not completed?
Note :- Mine is a ...
1
vote
1answer
130 views
is there a possibility for Run all tests (in target sandbox) before deployment?
is there a possibility for Run all tests (in target sandbox) before deployment from my dev sandbox?
If so how to do that?
I have about 700 components in my changeset and its successfully validated. ...
12
votes
6answers
1k views
What is the best way to deploy profiles in Salesforce? (especially system admin)
What is the best way to deploy profiles in salesforce?
I have a system admin profile with access given to the objects that i have created in my sandbox. I have about 1000 fields across these objects. ...
3
votes
2answers
75 views
How to “diff” components included in managed package versions
I'm trying to get a "diff"-like view of all components added in subsequent releases of a managed package. I know that the PackageVersion type, and its related types, are available through the Metadata ...
3
votes
1answer
141 views
Chatter Answers Test Failures - Invalid field CommunityId for sObject Case
After winter '13 when deploying to production I'm getting a failure in ChatterAnswersEscalationTriggerTest that communityId is not a valid case field. Any ideas why this field would spontaneously ...
3
votes
3answers
237 views
Is it possible to connect a social networking profile to a custom object record?
I have a custom object that represents a B2C customer, 'Cardholder', that I would like to connect to the cardholder's social networking profiles. Is this possible?
I am not using the Contact standard ...
5
votes
6answers
469 views
Rolling Back changes in Production
As we know there are two ways to deploy the code from Sandbox to Production
Using Ecclipse
Using ChangeSet - which is Unidirectional, once committed no changes can be rolled back from Production
...
2
votes
2answers
427 views
Deploying apex class and visualforce page
I have an apex class (custom controller) and a VF page. Apex class uses certain standard objects for some manipulation and VF page renders properties found inside controller. Now my question is what ...
3
votes
3answers
306 views
Deployment of managed package
I have a managed package which is going to be installed in several enterprise orgs.
Salesforce while deployment all unit tests will be run and if they all success with 75% code coverage then only you ...
6
votes
1answer
162 views
Ghost Schedulable Classes Blocking Deployment
Recently I've been running into issues where deployments were blocked due to a Schedulable job pending or in progress when I'd already cleared the Schedulable job from that class.
Any tips for ...
4
votes
3answers
653 views
Why is migrating changes between multiple orgs such a pain
So I've developed a couple of Salesforce / Force.com projects but the one thing I really hate is migrating changes between orgs. Maybe I'm doing it wrong, or I'm missing tools but something just ...
2
votes
1answer
175 views
Deployment Results - What do the Line and Column refer to?
I am trying to deploy an application from a sandbox to production. Validation of the inbound change fails. When I view the reasons for the failure I see there are five headings in the Component ...





