# README
Create Game of Thrones Data in Salesforce
This code creates Saleforce demo data using Game of Thrones data. It augments the data with ficticious phone numbers, email addresses and websites.
Instructions
Create your app
Create a Connected App in Salesforce and add your credentials to your .env
file. The location of this can be specified in the ENV_PATH
environment variable.
SALESFORCE_CLIENT_ID=myClientId
SALESFORCE_CLIENT_SECRET=myClientSecret
SALESFORCE_USERNAME=myUsername
SALESFORCE_PASSWORD=myPassword
SALESFORCE_SECURITY_KEY=mySecurityKey
SALESFORCE_CLIENT_ID
andSALESFORCE_CLIENT_SECRET
are created for you when you create a "Connected App" underSetup
>Apps
>App Manager
with OAuth SettingsSALESFORCE_USERNAME
andSALESFORCE_PASSWORD
are the same credentials as you use to login to https://login.salesforce.comSALESFORCE_SECURITY_KEY
is configured under your userSettings
>My Personal Information
>Reset My Security Token
Run the code
$ go get github.com/grokify/gameofthrones
$ cd $GOPATH/src/github/grokify/gameofthrones/examples/salesforce
$ go run create.go -action create_accounts
$ go run create.go -action create_contacts
$ go run create.go -action create_cases
The following are valid actions:
create_accounts
delete_accounts
create_contacts
delete_contacts
create_cases
The data should be created in this order:
- Accounts
- Contacts
- Cases
Screenshots
Accounts
Account
Contacts
Contact
Cases
Case
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author