File Browse Tool
One Tool Example
File Browse has a One Tool Example. Visit Sample Workflows to learn how to access this and many other examples directly in Alteryx Designer.
Use File Browse to display a file browse control in an app. You can use this tool to read input or write output. The value of the file path specified by the user is passed to downstream tools.
File Browse in Gallery
There are a couple of things that you need to be aware of when you use File Browse in Gallery:
- The Save as Dialog option is not supported in the Gallery.
- When a user selects a file in Gallery, the file is copied to the Server for processing to an internal folder for the specific job execution. As a result, the file path is a location on the Server and any updates to the file only update this copy, not the original file. In Gallery, the File Browse tool can't be used to select a file to update.
Configure the Tool
- Enter the text or question to be displayed: Enter text to instruct app users on how to use the File Browse control.
- Save As Dialog: This option is for outputting or writing a file. The Save as Dialog option is not supported in the Gallery.
- Select the file formats the app user can select from when browsing.
- Standard Database File Formats: All supported file formats are accepted.
- Select Spatial Formats Only if processing requires a spatial object or if the output is restricted to spatial file types.
- Select Generate Field Map for Input Data Tool if the app updates fields in an Input Data tool and the workflow is dependent on those fields for processing. Connect the tool to an Input Data tool with a template file containing names and data types. The fields within the app are labeled with the column names and data types from the input template file. The app user then maps the columns from their file to the app fields.
- Name a column in the template file so it ends with (Optional) to create an optional field in the app.
- Report Formats: Select this if updating a Render Tool.
- Arbitrary File Specification: Specify any set of file formats, including files, images, spatial objects, or others. Enter a file description as plain text, followed by a pipe character and file extension.
Example: Comma-Delineated Text Files (*.csv)|*.csv|dBase (*.dbf)|*.dbf|All Files (*.*)|*.*