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.
My Organization uses 2018.4, Although we have access to all current versions. As you know, YXZP files are not backward compatible because these are zip files that Alteryx can recognize. I created a macro/application that utilizes PowerShell ran from a CMD tool. This converts a YXZP file to a ZIP file, then expands the archive directory, allowing us to edit the XML data of the workflow in Alteryx (changing the VER “2019.x” to “2018.4”), lastly re-zips the package and changes the extension back to YXZP.
It works terrific; there is one problem I encountered under development. This is, when you double-click the YXZP package (after the process is complete), Alteryx goes through its standard import, but in the end, it doesn’t ask you to load the workflow?
Some aspects of the workflow are:
(1) The organization does not allow PowerShell to be run from external applications (this is a scripting setting in power shell that is controlled from an admin level).
(2) you can, however, run power shell scripts from the CMD terminal, by starting your line with PowerShell -command.
I believe the issue is when Zipping back up the directory using a compress archive function available in PS V5, we miss out on some settings or configuration in the YXZP file itself where alteryx asks to load the package after import. Has anyone encountered something similar, or know something involving ZIP/YXZP extensions that allow alteryx to load after import?
I got a crazy idea for you. How about not converting to zip from YXZP at the beginning? I don't. I always can unzip straight from a yxzp. Not sure how powershell handles it but are you stuck with powershell only? I just know that if I am manually right click on something like 7zip it will extract it straight from yxzp. makes sense?
Let me know if that helps Alteryx remember that its an Alteryx file and therefore knows to try and load it.