code for article pfeilbr/node-odata-playground
node-odata-playground
This is an example of a custom OData 4.0 provider that can be consumed by salesforce Lightning Connect
Setup
$ npm install
Running
$ node custom-odata-provider-example.js
# run ngrok to expose local server publicly
$ ngrok 1337
OData Endpoints you can visit
- http://localhost:1337
- http://localhost:1337/$metadata
- http://localhost:1337/$metadata#PIMSProduct
- http://localhost:1337/PIMSProduct?$count=false
- http://localhost:1337/todos?$count=false
Using brian.pfeil.1@gmail.com salesforce org.
Screenshots
Query Example

External Data Source

External Object

Filter Criteria / Where Clause

Twitter • Reddit