SOLVED
How to handle empty file?
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
mkanduri
5 - Atom
09-10-2024
01:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I've 'Directory' as input for xlsx files where Option5 (Output File Name as Field) value 'File Name Only' works fine when files have data but returns empty value if any of the files is empty. How to handle this? I want get File Name as Field value even if the input file is empty. Attached the screenshots.
Solved! Go to Solution.
Labels:
- Labels:
- Output
2 REPLIES 2
binu_acs
21 - Polaris
09-10-2024
02:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@mkanduri change to the below settings in the input tool, you will see the file name if there is no data as well, then use the dynamic rename tool to get the original column names
09-11-2024
03:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@binuacs it worked fine, but need to do a bit more to avoid column headers showing as data values. Thank you.
