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.
I am creating a workflow that pulls all meta data from a directory full of alteryx files. I can do it with yxmd and yxwz files just fine. My question is it possible to parse Alteryx packaged files (yxzp)? Or is it possible to unzip the files with a macro first and then I can run my other workflow to extract the meta data.
I'm attaching a Python-based macro that could help. This macro unpacks .yxzp files into the same root folder and read the content from the workflow, app, or macro that is inside of it (note, only for the main asset, not from dependencies inside the yxzp file).
You just need to provide the full file path of the .yxzp file in a field. It outputs the workflow name and the XML content. From there, you can do whatever you were doing before.
Alteryx version used - 2021.2. Be careful when using with older versions because the Python version is different.