apex connector for lightning connect - make anything a salesforce object
TRANSCRIPT
Apex Connector for Lightning Connect:Make Anything a Salesforce object
Agustina García PeraltaPrincipal Developer on Platform [email protected]@agarciaodeian
Agustina García PeraltaPrincipal Developer, Platform StrategyFinancialForce.com@agarciaodeian
About
GREAT ALONE. BETTER TOGETHER.• Native to Salesforce App Cloud since 2009• Investors include Salesforce Ventures• Customers in 27 countries• 650+ employees, San Francisco based• Dreamforce.FinancialForce.com
Agenda
• What is Apex Connector• What is Lightning Connect Demo• Apex Connector for Lightning Connect – All in Apex• Use Cases & Demos
• Limitations• Take away• Q&A
• What is Apex Connector? It is a new Framework• Where can we use it? Lightning Connect
What is Apex Connector?
All in Apex
• Lightning Group feature• Platform Connect, External Data Source, External Objects• GA Winter ‘15
• Link an External repository with your Salesforce organization
• It is not an ETL (Extract – Transform – Load)• Data Loader, JitterBit Data Loader
What is Lightning Connect?
Use Case – For Dreaming StoreIn the seventies a store opened in my neighborhood
At the beginning, it only sold
But after some time, it started selling ,
And nowadays also
Use Case – For Dreaming Store
was done in paper
But the latest owner moved toand
Use Case – For Dreaming Store
Demo
How is it developed?
How is it developed?
• Apex Connector Framework• GA Summer ‘15
• Framework• All in Apex!!• How to use it?• Class1 Extends DataSource.Provider• Class2 Extends DataSource.Connection
Apex Connector for Lightning Connect
Use Case – Hello World
Hello World – Connector ClassIt can be global
Hello World – Connector Class
Hello World – Connector Class Open a single record
Open List View
Do I need any filter?
Hello World – Connector Class
Hello World – Provider Class
It can be global
Demo
Hello World – External Data Source
Hello World – External Object
Use Case – For Dreaming Store
Use Case – For Dreaming Store
Use Case – For Dreaming Store
Demo
For Dreaming Store – Provider Class
For Dreaming Store – Connector Class
For Dreaming Store – Connector Class
For Dreaming Store – Connector Class
For Dreaming Store – Connector Class
For Dreaming Store – Read Google sheet
For Dreaming Store – Read Google sheet
For Dreaming Store – Unit Test
Add a filter
• Allow you to read information on your org and show as external object • Create a connection to another org
Apex Connector – Anything else?
• Fields• Double value lose precision beyond 10 significant digits• String length is greater than 255, field is mapped to a long text area field• Doesn’t provide Master – Detail • Workaround with Indirect Lookup and External Lookup
• Subject to same limits• Apex Governor limits• Apex Callouts aren’t allow after DML soft limit
Apex Connector - Limits
• Lightning Connect allows your to link information of an external repository to your org
• How to create the connection?• OData provider• Create your own one OData, Java …• Apex Connector Framework !! – All in Apex • A Provider class• A Connection class• Unit Tests
• External Objects work as Custom one• Create buttons and code behind the scene to use them
Take away as Developer
• Configuration with #clicksnotcode• Real Time refresh• It doesn’t count against storage limit
Take away as End User
Q&A
• http://goo.gl/RQRu8y• http://goo.gl/f4G7Rd• http://goo.gl/Rtv4zw• Do you want more? • Lightning Connect Custom Adapters: Connecting Anything with Salesforce• Thursday at 2.45pm Moscone West 2009
Links and more
Agustina García [email protected]@agarciaodeianwww.agarciaodeian.comhttp://www.meetup.com/es/Spain-Salesforce-Developer-User-Group/HelloWorld Apex Connector code https://goo.gl/VEEO0s
Thank you