ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now

Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
SOLVED

Accessing the Tool Version

Kaloust
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

LordNeilLord
15 - Aurora

Hey @Kaloust

 

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

 

ToolVersion.png

BenMoss
17 - Castor
17 - Castor

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

Kaloust
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