****Last updated April 14th,2017****
In this course, we will learn about different integration methods available to connect applications running on Force platform with external systems such as Heroku Connect, Salesforce Connect and WebService Callouts.
In this course we will learn about Data Replication and Data proxy. This course is divided into three main sections in which we cover Heroku Connect, Salesforce Connect and WebService callouts in detail.
We will start with creating an account on Heroku and then we will deploy an external PhoneChange application and we will integrate with Salesforce application using Heroku Connect. We will also provision Postgres database for our app. We will see how to provision the app for local development.
In the second section, we will explore Salesforce Connect. We will start with installing warehouse application on force platform and then we will integration with external system using Salesforce Connect. In Salesforce connect, we map external objects to the tables in the external system. We will cover external objects, different types of relationship that you create with external and standard objects.
In the third section, we will talk about web service callouts. We will create Rest Webservice to call the external system and update the records on the salesforce object.
All these topics are not covered in any other Salesforce course out there. This course is complete hands on and you will working along with me throughout this course.
In this tutorial, we will create an account with Heroku and Salesforce.
In this tutorial, we will talk about Data Replication.
Data Replication: is the process of synchronizing or copying the data between Salesforce and external system. For eg: You own a company which deals with selling Unicorn Hats. The product information like pricing and inventory is stored in salesforce org and we also have a public website which is built in Node.Js and Java.
This public website needs product data from salesforce org for order functionality. This public website is running on Heroku. So it makes sense to copy product information from salesforce application on to a datastore in Heroku.
In this tutorial, we will talk about Data Proxy.
Data Proxy: Data proxy is also used to fetch data from different datastores. But in case of Data proxy, data is not copied but its read on demand. Since the data is not copied in case of Data Proxy, you do not have to worry about data storage and keeping the data up-to-date.
In this tutorial, we will talk about what integrations methods are available in order to integrate salesforce with Heroku.
You can integrate Salesforce with Heroku using:
In this tutorial, we will provision two main add-ons for our app running on Heroku.
Heroku Postgres: is a SQL database service provisioned and managed as an add-on. It acts like a datastore for application running on Heroku.
Heroku Connect: Heroku connect is add-on that is used to copy/synchronize the data between your salesforce org and a Heroku Postgres database.
How Heroku Connect Works?
Heroku connect creates a database table on demand which is an exact replica of the salesforce object. Tables and column are same between Salesforce objects and Postgres database, except the database uses lowercase letters.
Whenever data changes in salesforce,those changes are also made to Heroku database table and vice-versa.
In this tutorial, we will prepare our app for local development. Whenever an app is deployed on Heroku, it also keeps a copy of the app in a git repository to make it available for sharing. In real time, you will store your code in company's git repository or will use a service like GitBucket or GitHub.
In this tutorial, we will make changes to the app we deployed on our local machine in the last tutorial. Once we are done with the changes we will commit and push our changes back to our remote heroku app.
In this tutorial,we will cover salesforce connect.
What is Salesforce Connect?
Salesforce connect is a framework, that allow us to read, modify and search data from an external system on demand. In case of salesforce connect, data is not stored in salesforce org but its read on demand.
In this tutorial, we will learn about how to view external data in Salesforce1. Below are the steps:
Step 1: Start the Salesforce1 app on your phone.Enter your username and password for your Developer Edition.
Step 2: Click on the hamburger icon on the top left corner and it will open the navigation menu.
Step 3: Click on the Orders object from the list.
Step 4: Now you will see records related to Orders. Click on one of the record under Orders tab.
Step 5: Click Feed to view order record’s feed and feed posts.
Step 6: Click on related, and then click orderDetails to see the order’s line items.
In this tutorial, we will see how to create a WebService Callout to integrate the Warehouse app with the fulfillment application.
The fulfillment app is written in JAVA and is deployed on Heroku platform.
Whenever the status of the invoice record is changed to Closed in Salesforce org, the system sends a JSON-formatted message to the Order Fulfillment System running on Heroku, which then returns an order ID to the Force.com system. The OrderId returned from the Order fulfillment system is added to the corresponding Invoice record.
What is Remote Site Settings in Salesforce?
Whenever we want to access external system from our Force.com platform using webservice, callouts, visualforce button, the external system site needs to be added to remote site settings in salesforce.
Apex callout allow you to integrate Apex code with external service by making a call to an external web service or sending a HTTP request from Apex code and then will recieve the response.
I am a Java/J2EE and salesforce developer, have been writing and working with software for the past 5 years. I currently live in Dallas/TX.
If your goal is to become one of these:
Then checkout my courses. I have close to 10000 students in and out of udemy. My passion is helping people around the world and guide them into the world of programming.
I am Oracle certified JAVA ,J2EE developer. I love coffee, music, exercise,coding and technology. See you in my course:)