Common workflow for the DataSet component

The typical workflow for the DataSet component is as follows.

To use a DataSet component:

  1. Confirm that your Publish Settings specify ActionScript 2.0.
  2. Add an instance of the DataSet component to your application and give it an instance name.
  3. Select the Schema tab for the DataSet component and create component properties to represent the persistent fields of the data set.
  4. Load the DataSet component with data from an external data source.
  5. Use the Bindings tab of the Component inspector to bind the data set fields to user interface components in your application.

    The UI controls are notified as records (transfer objects) are selected or modified within the DataSet component, and updated accordingly. In addition, the DataSet component is notified of changes made from within a UI control; those changes are tracked by the data set and can be extracted by means of a delta packet.

  6. Call the methods of the DataSet component in your application to manage your data.

    NOTE

    In addition to these steps, you can bind the DataSet component to a connector and a resolver component to provide a complete solution for accessing, managing, and updating data from an external data source.