Coder Social home page Coder Social logo

nicholassewitz / clouds Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 43.3 MB

Pushes information from Amazon Redshift to Salesforce using Windows Dataloader CLI A very easy way to do this would be to set up a Windows EC2 Instance

License: MIT License

NSIS 15.68% HTML 14.01% JavaScript 11.96% Batchfile 58.34%

clouds's Introduction

Pushes information from Amazon Redshift to Salesforce using Windows Dataloader CLI A very easy way to do this would be to set up a Windows EC2 Instance

Setup Instruction Download Data Loader login to salesforce go to setup search for data loader Under Data Management->Data Loader Download the windows version

Install Data Loader run windows setup for the dataloader for convenience, install it to c:\dataloader

Artsy Setup: Unzip artsy.zip under c:\dataloader setup permission to full permission for the Put_Salesforce_Account_Name_Here folder for everyone

Process runs: (first cd into c:\dataloader\artsy\bin)

following command runs individual object integration process

-Account Upsert: .\process.bat ../conf accountMasterProcess

-Account update: .\process.bat ../conf accountUpdateProcess

-Location upsert: .\process.bat ../conf locationProcess

-Contact upsert: .\process.bat ../conf contactProcess

-Fair upsert: .\process.bat ../conf fairProcess

-Show upsert: .\process.bat ../conf fairProcess

I created a daily batch file: redshift_daily_batch.bat, you can set this file to a windows scheduler call so it will run daily.

output is under c:\dataloader\Put_Salesforce_Account_Name_Here\status

Documentation process-conf.xml this file contains all our current salesforce integration objects. to add new ones, please change this file.

for production migration, sfdc.endpoint, sfdc.username, sfdc.password will need to be changed. to generated an encrypted password, please run c:\dataloader\Put_Salesforce_Account_Name_Here\bin\encrypt -e sfpwd and then copy the string into the password field.

database-conf.xml

this file contains all the redshift sql statements to collect data from redshift.

columns can be added to the sql or filter criteria can be added to the sql as well

xxxMap.sdl

this file is the redshift column to salesforce column mapper

every object will need a separate mapping file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.