User Tools

Site Tools


dealer_locator

This is an old revision of the document!


Dealer Locator Integration

You can use your channelAdmin partner database to drive a “dealer locator” feature on your public website, allowing your website visitors to find contact info for your partner locations in a specific geographic area.

We offer several different integration choices. Each has pros and cons, as described below

IFRAME include

This is the easiest way to integrate a dealer locator into your website. The basic approach is this: you supply a search form on your website and POST the form to our server, specifying an HTML <iframe> on your page to display the returned results. Our server returns a fully formatted table containing the search results (or a “no dealers found” message when appropriate) which is then displayed within the <iframe> you specified. sample code here

AJAX javascript include

In this approach, a javascript AJAX call is made to our server. Our server sends back an html table containing the search results, and javascript on your page inserts the table into a <div> on your page. This method is slightly more difficult to implement than the iframe approach, but the advantage is that you can use your own CSS styles to control the look of the search results table. sample code here

Web Services XML API

In this approach, the dealer location search request is sent from your web server to ours. Our server returns the search results as an XML document rather than an HTML table. You need to supply code on your server to parse the XML and format the results into an HTML or other type of document to send back to the user's browser. This approach provides the most flexbility but requires some coding on your web server. sample code here

search parameters

The above methods differ only in how the search results are returned and then how they're presented to the end user. All of the methods use the same set of search parameters. The search parameters are “ANDed” together, so only partner locations that match all specified non-null parameters are returned. The allowable parameters are:

dealer_locator.1241291624.txt.gz · Last modified: 2009/05/02 19:13 by jay