Find your content:

Search form

You are here

I found code that I would like to use in my Dev Org, but I don't know how to. Can anyone offer guidance on implementing this code?

 
Share

Here's a link to the code that I would like to implement in my Developer Edition org. The code is used to offer a combination of B2B and B2C in the same org without using person accounts.

Any guidance would be appreciated, thanks!

EDIT: To clarify, I've so far just copied and pasted the code into the proper place (class, trigger, page, etc.) and created the fields manually, but I feel like I'm missing a better way to be doing this.

UPDATE: Copying and pasting each code item in seems to have worked, in addition to a few manual changes indicated in the readme, however, it still refers to 'Downloading the Code', which makes me feel like there is a better way to do this than just copying and pasting all of the code over. Any idea what this is referring to?


Attribution to: jackerman09

Possible Suggestion/Solution #1

I would use the Force.com IDE to manage this code.

Force.com IDE


Attribution to: Davin Casey

Possible Suggestion/Solution #2

As mentioned by DavinC, the Force.com IDE is the most common way of handling code deployments, although there is also a command line tool called ant that salesforce provides a toolkit for using in deployments.

The IDE however is far friendlier to non-developers, although it's still a rather large and complex peice of software.

If I wanted to deploy that source to my org I'd download the whole thing, from the root level and then load the project into the IDE. From there the IDE has a deploy menu that can be used to push all of the data at once to your org.

For small projects it can be faster to copy/paste as you've done but once you start working with large projects that include dozens of classes or workflows it quickly becomes more efficient to invest in learning the IDE.


Attribution to: ca_peterson
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/1761

My Block Status

My Block Content