Source File Name from Folder Data Source

SmartConnect doesn’t store file names in a Folder Data Source by default, but we can fix that! In this video, we cover two solutions: Using a script to capture file names dynamically & Modifying source files to add a "FileName" column.

We walk through a Map Pre-Script that scans CSV files, checks for the FileName column, and adds it if missing, ensuring every record includes its source file name. If you'd rather read our help article on this, click here.