Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

How To: Fix Duplicated Macros


Duplicated macros can often occur when you import macros within workflows and when trying to install different versions of the same macro. Fortunately, there are a few steps you can take to clean up your tool palette:

Downloading macros from the Public Gallery:

  • Often if the macros are supported by Alteryx Products they will be installed into a particular parent category which is specified within the meta info of the tool. If you installing a new version some will delete the previous version. However, the installer may not have this functionality. Therefore, you can check thesefolders to remove theduplicate macros here:
    • Admin install of Alteryx : C:\Program Files\Alteryx\bin\RuntimeData\Macros (relative to where you installed Alteryx)
    • Non-Admin install of Alteryx: C:\Users\[Your User Profile]\AppData\Local\Alteryx\bin\RuntimeData\Macros

Image 1.png

  • You will want to delete both the .yxmc and the .bak files from that folder.
  • If this is a macro unsupported by Alteryx Products you will have to delete any duplicates from the file folder you save it into.

Macro installed from a zipped Alteryx workflow (.yxzp):

  • You can specify where you want the workflow to be saved, therefore if a macro is packaged within the workflow it will reside within one of the externals folders in that folder location.
  • To avoid duplicate macros please save in a new folder location. As a default, this should be the behavior of the Alteryx Designer & Server.

.\Alteryx Example Modules\Macro - Iterative\IterativeDemo\_externals\1


Sent a macro (.yxmc) in an email:

  • If this macro already exists in afolder on your machine then you can chooseto overwrite that same macro or delete the previous version before saving it.
No ratings