Mashup Builder > Data Services and Linking > Binding a Data Service to a Widget
Binding a Data Service to a Widget
To bind a data service to a widget, select the All Data property of the data service, and drag it to the desired widget on your mashup. Each widget on the page that can accept that data has a visual indicator so you know where you can drag the data. Some widgets only display one type of data, such as a text area or check box. In these cases, you can select an individual column from a data service and drag that specific column onto the widget to bind the data. Once the data is bound to the widget, you can continue to configure the widget. For more information, see the specific widget. Remember to bind an event to the data service so it is called; otherwise, no data is returned. Typically, the event you want to bind to a data service is the Mashup Loaded event, which will cause the data service to be called on page load. You can also call data services based on other events, such as data selection, button press, or another completed service.
The columns returned by a data service are shown under the All Data section of the data service. They are outbound bindable, indicated by the outward facing arrows. When a data service All Data or individual column is bound, the arrows become filled in.
You can also bind the data from one widget to another.
Using Drag and Drop
When you are using drag and drop to bind data in the Mashup Builder design interface, the interface filters drop targets on the widgets and sections to just show the valid targets for data binding. This enables you to easily locate the target for your data binding.