Updating data connections and the Data View palette

When you create a data connection, Designer creates a data description and saves it in the form. In addition, the Data View palette displays a hierarchy view of the data source. If the data source is an embedded XML schema or Adobe data model, the hierarchy is generated from the description saved in the form. If the data source is a non-embedded XML schema, an XML data file, or WSDL file, the hierarchy is generated using the external file.

When you reopen the form, Designer determines if the source file for the data connection has changed. If it has changed, you are prompted to update the connection. When you update the connection, Designer recreates the data description that is saved with the form file. It also regenerates the hierarchy in the Data View palette.

To prevent the update warning, in the Data Binding panel of the Options dialog box, clear the Show Update Dialog When Source File Changes option.

Updating the Data View palette for non-embedded XML schema data connections

When the source for a data connection is a non-embedded XML schema, an XML data file, or WSDL file, the hierarchy view in the Data View palette is generated using an external file. If the external file changes, when you reopen the form, the hierarchy in the Data View is regenerated to reflect the changes. If the external file changes when you are editing the form, a dialog box is displayed. This dialog box enables you to reload the hierarchy in the Data View palette .

To prevent these warnings, when you open the form file, update the data connection when you are prompted. Alternatively, in the Data View palette, select the name of the data connection, right-click, and then click Connection Properties to re-create the data connection.

// Ethnio survey code removed