Setting the Data panel options

The purpose of the Data panel is to list all the Flex data services and all the data models defined in the current MXML file. You can use this panel to inspect, add, or remove data services or data models.

For more information on data services, see Flex data services. For more information on data models, see Flex data models.

To set the panel options:

  1. To add a service, click the Plus (+) button and select the type of object in your business layer that will provide or receive the data.

    The object can be a web service, an HTTP service, or a Java class in the web application's classpath. For instructions, see Inserting a Flex data service in the MXML file.

    The Flex server can be configured to filter which services are allowed. This list can be very specific or very general. If you add a service that is blocked by the Flex server, an exclamation point (!) is displayed next to the service's name indicating you'll get a runtime error if you try to access the service. For more information, see "Configuring access to services" in Developing Flex Applications Help.

  2. To inspect the child nodes of listed data services and data models, click the Plus (+) button beside each instance.
  3. To remove a service or model, select it in the list and click the Minus (-) button.

    Flex Builder removes its code from the current MXML file.

Related topics