Collect Local Metadata

collect local absolute paths and create a /data/ sub-folder if it does not already exist

KNIME Analytics Platform - KNIME File Handling Guide
https://docs.knime.com/latest/analytics_platform_file_handling_guide/

Extract the current standard Python YAML / YML files curated by KNIME from the installation folder
https://hub.knime.com/-/spaces/-/latest/~SGv1Cosah8BXabfa/

Create path variables – extract paths stored
https://forum.knime.com/t/write-multiple-csv-file-to-a-loop/44989/2?u=mlauber71
https://forum.knime.com/t/add-read-sheet-protection-to-excel-file/63860/5?u=mlauber71

Annotations and comments
  • automatically extract the file separator from the path - depending on the operating system
  • context.workflow.parent-path
  • path.separator.system length_parent_path= length(column("context.workflow.parent-path")) substr(column("context.workflow.parent-path"), length_parent_path-1, 1)
  • => paths
  • create /data/ folder if it does not exist
  • context.workflow.absolute-path context.workflow.path context.workflow.name
  • context.workflow.data-path
  • data-path

Input Ports

This node has no input ports

Output Ports

Icon
local data paths

Nodes

Extensions

Links