##### Define > XML Interfaces > XML Wizard

# File Save and Load

The File Save and Load XML Interface option creates XML Interfaces to save fields and their contents to a flat file and load those fields and their contents from the same flat file into Genesys Agent Scripting. This option opens the XML File Interface Wizard dialog box.

## Save Interface

Use the Save Interface field to provide a name for the interface that will save the contents of a field(s) to a file. This name will be shown on the Genesys Agent Scripting button associated with this XML interface.

## Load Interface

Use the Load Interface field to provide a name for the interface that will load the contents of a flat file into Genesys Agent Scripting. This name will be shown on the Genesys Agent Scripting button associated with this XML interface.

## File Name Value

You can choose between static and field values. If you select Static, then a file name must be provided. If you select Field, then a field must be provided. The file name will be determined by the contents of the field selected.

Note: If you select Static for the File Name value, then multiple users of the runtime generated pages would be writing to the same static file. This can lead to problems.

## File Name

This field appears if you select Static in the File Name Value field. You should provide the name of the file where the data is to be stored.

## Field

This field appears if you select Field in the File Name Value field. You should provide the field whose contents contain the name of the file where the data is to be stored.

## Cancel

Click Cancel to stop the interface creation and close the dialog box.

## Next

Click the Next button to continue creating the XML Interfaces. The next page of the XML File Interface Wizard opens.

### Available Fields

This list contains all of the fields that have been created in Genesys Agent Scripting and are not already included in the Included Fields list.

### Included Fields

This list contains the fields that you want included in the saved file.

### Add All

Clicking this button will add all of the existing fields to the Included Files list.

### Add

This button will add the selected field in the Available Fields list to the Included Fields list. Once a field is added to the Included Fields list, it is removed from the Available Fields list.

### Remove

This button will remove the selected field from the Included Fields list and return it to the Available Fields list.

### Remove All

This button will remove all of the fields from the Included Fields list and return them to the Available Fields list.

### Previous

The Previous button will allow you to go back to the previous page to review or change the information.

### Finish

The Finish button will create the File Save and Load XML Interfaces and display a confirmation message indicating that the XML Interfaces have been created.

### Cancel

Click Cancel to stop the interface creation and close the dialog box.