\docs\building-a-data-connectordirectory to open the project containing the examples in this section. Double-click the index.html file to run the sample.
dataSourceproperty on the configuration parameter to get a reference to the configuration passed into the calling data source.
Providerattribute when configuring the data source.
getUrlmethod in the project will return the transformed query as a string URL that can be used to call the web service.
wire.getmethod will make an asynchronous call to the web service to retrieve the data for the query.
execAsyncmethod on a service provider, the data source passes the data returned from the call to the
getResponseTablemethod on the service provider. This method is responsible for handling any data service specific formatting and returning the data in a standard DataTable.
DataSourceconstructor below is the id
jsonplaceholderused when the service provider was registered with WireBootstrap above. The entity on the query is
todoswhich is filtered to