Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Alteryx is here to help you solve your biggest data challenges. Read about the new Virtual Solution Center here.
SOLVED

Accessing the Tool Version

Highlighted
6 - Meteoroid

Hello,

 

I am trying to make my macros output the tool version found in Meta info > Tool Settings > Tool Version. This will help trace back any errors found in the future in the outputs created using a certain macro.

 

Is there a way I can directly access the Tool Version?

 

I tried using the macro file as an XML input but couldn't find the tool version in the output I got.

 

Thank you

Highlighted
Alteryx Certified Partner

Hey @Kaloust

 

If you want to see the tool versions, you can right click on the tool and "choose tool version"

 

ToolVersion.png

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

The tool version for a macro does indeed sit within the XML within the <ToolVersion> element.

I would bring in the yxmc as an undelimited csv file, and then do a filter looking for the line which contains the tool version.

 

Example attached.

 

Ben

Highlighted
6 - Meteoroid

Hi @LordNeilLord

 

Thank you for your reply.

 

The "Choose Tool Version" is not available in the macros I create (I'm not sure if the reason is that I don't have all the versions saved in the same folder). Also the intention is to use the Tool Version as part of a formula (same like accessing [Engine.Version]). The idea is that every output will automatically have the macro version in it, so that if any issues were found later in the macro, it becomes easy to find and isolate/fix the files that were affected.

 

Any ideas?

Labels