Mashup Builder > Data Services and Bindings > 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 about widget configuration, see the widget section of the Mashup Builder help. 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, a list of properties appears on the widget. The list includes all the valid properties for data binding. This enables you to identify targets more easily when binding to properties.
To use drag and drop, click and hold a bindable property, then hover over a widget on the canvas.
Was this helpful?