KNOWLEDGE BASE

Relative Path For File Connection On Tableau Prep Builder


Published: 03 Feb 2020
Last Modified Date: 04 Feb 2020

Issue

If the location of data source files are changed or flow files are shared to other Tableau Prep users, file locations need to be re-defined as full paths. How can I define it by relative paths?

Environment

  • Tableau Prep Builder
  • File-based data sources, e.g. Excel, Access, text files (.csv, .txt, etc.)

Resolution

A possible workaround is to use a packaged flow file (.tflx), so that the flat files are packaged together with the flow file. For more information about creating a packaged flow file, see Save a flow.

Cause

The ability to use relative path for file-based data sources are not currently built into prduct.
Did this article resolve the issue?