FlightPath Data Loading

 Set a Group Template

How to assign a default template to a named-file.

 How To Assign a Default Template To a Group

FlightPath gives you the ability to give results a certain path layout. This allows you to position files based on the original location of the data file or to mirror the layout of another system.

Templates are used to structure results. Using templates to organize results is very similar to how they are used to organize staged data. When used to organize results, the template is held by the named-paths group, in its `definition.json` file. You can learn more about templates on [https://www.csvpath.org](https://www.csvpath.org).

How to do it

  • Navigate to your project's examples/headers folder
  • Right-click the directory in the project files tree on the left
  • Select Load csvpaths
  • The Load Dialog opens
  • Add the name headers to the name field
* After hitting the `Create` button you will see the `headers` named-paths group in the middle right-hand window * Right-click the `headers` group and select `Set template` * In the dialog enter a template like `:1/test/:run_dir`, or whatever you like
* Click the `Set` button and then check the group's `definition.json` file to see where the template was saved
Named-paths group templates must end in the token `:run_dir`. `:run_dir` is the placeholder for the datestamp directory name containing the run.