Linking and scripting gadgets : Building links : Linking to a selected field

Linking to a selected field

When you link to a data selection gadget that uses the same data object, the same data field name is used by default.

If the data selection gadget uses a different data object than, the developer must match the published data field from the data selection gadget to a data field in the data visualization gadget. Figure 6-3 shows two different data fields that are matched.

Figure 6-3  Selecting a field to receive a data selection link

For example, a list gadget shows country names from a data object file containing customer addresses. A chart gadget shows sales results from a different data object file containing data about customer orders. When the chart gadget links to the list gadget, the developer matches the different field names. This enables the list gadget to filter the country data displayed in the chart gadget.


(c) Copyright Actuate Corporation 2011