Business Traveler's Mashboard
This is a simple ad-hoc application
showing how your average user can quickly capture unstructured data into a list and then leverage that list to drive a map.
Scenario
You need to make reservations for a business trip. Your corporate reservation system is non-intuitive when it comes to addressing simple questions such as "
Which hotel is nearest to my business destination and the airport?" To quickly satisfy such inquiries which tend to be repetative for each business trip, you decide to create your own ad-hoc utility as a productivity aid.
The "Mashboard"
There is no need to create a template for this project, we will simply create the utility for each instance (business trip) from scratch because there are only four components for this mashup. Here are the instructions for the project:
- Create a new page
- Click on Assemble mode
- Drag a List Definition Widget from the Data Access draw in the Widget palette
- Create a new list with two fields, place and location, both of type string
- Drag a SearchList widget from the Search Utilities draw in the Widget palette
- Set the properties for this widget as follows:
- id="destinations"
- query=<name of the identifier you gave to the list you created>
- Drag a ShowData widget from the Data Access draw in the Widget palette
- Set the properties for this widget as follows:
- id="destinationList"
- source="destinations"
- edit="true"
- data="#(destinations/available)"
- Drag an ESRI Widget from the Location Utilities draw
- Set the properites for this widget as follows:
- source="#(destinationList/selected[location])"
- bindTo="destinations"
- listenFor="destinationList"
- showOnLoad=true
- Click on the View mode tab and run your application.
As an example, you can review a completed version of this project
here.