Hello! Welcome to Generic SObject Examples.
To install this package in your salesforce instance, follow these steps:
-
Install the Force.com Ant Migration Tool. (https://developer.salesforce.com/page/Force.com_Migration_Tool)
-
Clone this repository into a local directory.
-
Create a new file in the root directory of this repository called "build.properties"
-
Fill in this file with your salesforce credentials so that it looks like this:
sfdc.serverUrl=https://www.salesforce.com
sfdc.username=<your username>
sfdc.password=<your password><your security token>
-
Run "ant deploy" from the repository base directoy.
-
Enjoy!
There are a number of examples in this repository, and good examples of how to run the code are located in the relevant unit test files for each of the classes.