Files to Base64

Annotations and comments
  • Write to temp space first because the URI for Sharepoint isn't accepted by Files to Binary Objects
  • Allow user to choose the column containing the Path, and convert those files to Base64 Top input: File System Bottom input: Column with Path variable containing the file(s)
  • Nodes that follow should: * Try to preserve the Active sheet * Create a Debug Info column, and stack up debug info (currently it overwrites) * Capture errors but not stop the workflow (report them in debug info) * Keep almost everything in process_sheet * Use as few flow variables as possible
  • Create BinaryObject (base64) but replace Input
  • Simple copy of pth_b64_original -> str_path_info_original
  • Remove URI
  • Rename BinaryObject (string) to str_base64_encoded_file
  • Source Path -> pth_b64_original Destination Path -> pth_b64_processingtemp
  • fv_selection Choose the column containing the path
  • Top: pth_b64_original Bot: Remainder
  • Debug Info
  • Relative to current workflow data area Prefix: knimetemp-base64- Export path: pth_knimetemp_base64
  • Use URI Add BinaryObject
  • fv_selection's column to pth_b64_original
  • Destination path is knimetemp space temp folder This node doesn't like multiple file systems connected so Source Path is split off pth_b64_processingtemp Add URI
  • FS to Temp Space Folder Source: fv_selection Destination: pth_knimetemp_base64

Options

Select column containing Paths with XLSX files

Input Ports

This node has no input ports

Output Ports

This node has no output ports

Nodes

Extensions

Links