I am running into a challenge on a project and am hoping that the community can help. I am receiving some .Zip files that contain flat files that need to be read as fixed width.
Thinking of two approaches but not sure which will work. Anyone else faced this challenge?
1) Extract the files from the Zip. Extract the files via RunCmd. I see this thread here that may be of some use (https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Can-Alteryx-unzip-a-file-as-part-of-the-workflow/td-p/10604) but am not quite sure how to navigate that code. Once extracted I can import as .Flat using a layout workbook created in Excel. I' heading down this path now since the import part is straightforward once I learn how to extract from the ZIp.
2) Leave the files in the Zip, but limited file types to choose from. I can Import as Csv without a delimiter but I don't see how to utilize the layout workbook in this method. Seems like I would be stuck parsing via another method like regex or substring for each field.