function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MDhillonMDhillon 

Which Deployment method is best for one to many distribution ?

Hi All,

I am completely new to Salesforce. Please help me in code deployment.

I have certain objects and code in my developer environment, now i want to make those available for all my salesforce clients.so it is a situation of one to many distribution.

So please let me know which method would be the best for this and why?

I am confused with the various methods available like -
Packages,
Change sets,
Force IDE,
Ant,
Eclispse etc.,

but i really do not know which method should be used when? and which among these is the best for one to many distributions?

Any help would be greatly appreciated.

thanks,
Mani

pradeep naredlapradeep naredla
Hi,
   pakages is better for one to many distribution..

thanks,
pradeep
Ramesh KallooriRamesh Kalloori
i think the best practice is:

Eclipse:

ADV:

1).A change set can only be moved between a live site and its sandbox. Eclipse can be used to move between any orgs like live site and developer org
2) we can do active/inactive triggers and delete the triggers 
for details:
http://cloudcatamaran.com/2014/03/how-to-remove-unused-trigger-from-production-instance/
http://help.salesforce.com/apex/HTViewSolution?id=000005417&language=en_US

Dis:

1)Via eclipse you can do deployment but there will not be any track that which classes or pages are deplyed previously.

 If you use change set all the old deployments will be tracked.
 Change set can be cloned.

thanks,
RAmesh
MDhillonMDhillon
Hi Ramesh & Pradeep,

thank you for your replies.

My Concern is not only to move my code from sandbox to Live, But to make my code available for my clients. So can i do it  with Eclipse? Can distribution  be achieved through this?

thanks,
mani
pradeep naredlapradeep naredla
Hi,
    if u want to make ur code available to the clients then create a unmanaged package and give the link to the clients such a way that the client can download it and install the package and he can view the code and even he can modify the code if u go for eclips it will become some what complex better go for this.

Thanks,
pradeep.
Ramesh KallooriRamesh Kalloori
before do the packaging please go through the below links.

1.An Introduction to Packaging

https://developer.salesforce.com/page/An_Introduction_to_Packaging

2.What You Need to Know BEFORE You Install

http://www.501commons.org/blog/salesforce-apps-what-you-need-to-know-before-you-install

3.Beware of the Unmanaged Package!

http://blog.financialforce.com/beware-of-unmanaged-packages/

thanks,
RAmesh