This weekend I’m at the Go Code Colorado Challenge Weekend event in Durango. The purpose of Go Code Colorado 2016 is for teams to build something useful for businesses using one or more of the Colorado Public Datasets. Some teams are using Salesforce for the back-office / business process side of the app they are building. So I decided to see if I could pull a Colorado Public Dataset into Salesforce. Turns out it’s super easy! Just follow these steps:
- Sign up for a Salesforce Developer Edition
Create a new External Data Source with the following field values:
External Data Source = Colorado Public Data
Name = Colorado_Public_Data
Type = Lightning Connect: OData 2.0
URL = https://data.colorado.gov/OData.svc
Special Compatibility = Socrata
- Save the new External Data Source and then hit “Validate and Sync” to fetch the metadata for the services.
Select one or more tables from the list. A good table to test with is the “Occupational Employment Statistics” dataset.
Sync the table and you should see a new “External Object” in the list of External Objects.
The data is now available in Salesforce. An easy way to see the dataset is to create a tab in the Salesforce UI. On the Custom Tabs Setup page create a new Custom Object Tab for the “Occupational Employment Statistics” object and select a Tab Style:
Complete the creation of the tab (select Next, Next, Save).
Select the “Occupational Employment Statistics” tab (which might be in a drop-down menu depending on the width of your browser:
Next to the View – All selector, hit “Go!” to fetch the data from the Colorado Public Data source. You’ll now see the records:
Note: The columns displayed in this view can be customized in the External Object’s Search Layout.
Selecting a record’s ID will display the record details:
That’s it! Now you can build all sorts of business processes and other employee-facing interactions around the public data.
Good luck to all of the Go Code Colorado teams!