+ Start a Discussion
AniqaaaAniqaaa 

deployment process

Hi,

 

could anyone guide me of how to make deployments. I have the name of sandbox, where I need to deploy it to.
Do I use eclipse? How can I make sure that the test coverage is the same in deployment as in my own sandbox?

 

Thanks

 

 

Anika

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox

Each username belongs to an organization. You do not need to know the name of the organization (e.g. Sandbox name) you are deploying to. You need to know the username, password, and security token. The username informs salesforce.com which organization you are connecting to. Assuming you have the right login information, you will, by definition, be deploying to the correct sandbox.

All Answers

sfdcfoxsfdcfox
You can use either Eclipse, the Metadata Toolkit, or you can use a private package (Setup > Create > Packages). Regardless of the method chosen, your test coverage will not likely be the same in deployment and sandbox; each individual class and trigger may be affected by the target organization's code, and aggregate coverage is an average of all code, including your code and the target's code. The only requirement is that the overall average exceeds 75%.
avijchakavijchak

Hi, Usually migration to sandboxes test coverage is not required. I suggest you to use ANT tool by setting run all test = TRUE

AniqaaaAniqaaa

Thanks for your help.

 

Quick question, do I type in my username, password and security token? I have the name of sandbox, to which I need to deploy it to. Where do I type the name of the sandbox, is it as an extension??


Could you please provide step-by-step guidance?

 

Thanks

 

 

Anika

 

Vinit_KumarVinit_Kumar

Username itself is unique in salesforce which means different Sandbox has different usernames.

 

You just need to put your Username,Password+securityToken and select Sandbox in the Env.(Assuming you are using Eclipse and your destination org is Sandbox too).

AniqaaaAniqaaa

I understand what you are saying, but where do I put the name of the sandox I want to deploy it to?

 

thanks

 

 

Vinit_KumarVinit_Kumar

You are not getting the point,Being username unique means,It would identify the destination org with which the username is associated to.

 

You don't need to put it anywhere the Sandbox name.

AniqaaaAniqaaa

I have done this already, but now I need to put it into their sandbox. They gave me the name and asked me to do it.

 

thanks

 

Anika

 

sfdcfoxsfdcfox

Each username belongs to an organization. You do not need to know the name of the organization (e.g. Sandbox name) you are deploying to. You need to know the username, password, and security token. The username informs salesforce.com which organization you are connecting to. Assuming you have the right login information, you will, by definition, be deploying to the correct sandbox.

This was selected as the best answer
AniqaaaAniqaaa

Ok, that makes sense

Thanks :)

 

Vinit_KumarVinit_Kumar

Aniqaa,

 

I was telling the same thing :)