This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!
Be sure to review our Idea Submission Guidelines for more information!
I may be late to the party but file handling seemed like a major missing feature and relying on the cmd tool for everything feels like a hack.
To this end I created three custom tools (Python SDK) that fill these holes:
Delete files: https://gallery.alteryx.com/#!app/File-Delete/5f4770d8826fd309c4f9e427
Unzip files: https://gallery.alteryx.com/#!app/Zip/5f4017838a933718f4bef65d
Copy/Move files (also renames since a rename is just a move with a different name): https://gallery.alteryx.com/#!app/File-Operations/5f4016520462d715e4d43e97
The tools all use standard Python libraries already installed with Alteryx.
Hope this helps in the meantime,
Bob Peers, Inviso A/S
Hi @bobpeers , I just downloaded the delete tool from the gallery and I'm getting the black "tool not found" icon...did the macro not get packaged into the .yxi?
its basically a limitation of the Gallery that you can’t upload yxi files so I had to make a sample workflow using the tool and then you need to grab the installer from the link in the workflow.
The installer is on GitHub https://github.com/bobpeers/Alteryx_SDK_Delete
bat file is a poor solution to this basic and common operations.
I find myself having to generate bat commands to run post completion.
No one wants to learn ms-dos anymore.
Here's a wish list selected from microsoft .net file system object documentation
! CopyFile Copies one or more files from one location to another.! CopyFolder Copies one or more folders from one location to another.! CreateFolder Creates a new folder.! DeleteFile Deletes one or more specified files.! DeleteFolder Deletes one or more specified folders.! DriveExists Checks if a specified drive exists.! FolderExists Checks if a specified folder exists.! Move Moves a specified file or folder from one location to another.! MoveFile Moves one or more files from one location to another.! MoveFolder Moves one or more folders from one location to another.
Adding one to @hroderick's list:
Good news @ChrisTX , FileExists is already there along with a few others https://help.alteryx.com/current/designer/file-functions
@bobpeers - just downloaded your file move tool, and wanted to say thank you - it's well written; it has an error output to allow for reprocessing - and your code is easy to follow!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.