Alteryx Academy
MyAlteryx
Knowledge
Help Docs
Home
Participate
Discussions
Alteryx One
Show me the Macros!
dawnh80
Do you know the many methods to add existing macros to your workflow young Alteryx Padawan? There is also a way to change the macro location if you receive the dark question mark icon referring to a macro that is lost to the dark-side.
The first method which doesn't always play nice is to add it to your
Tool Palette
.
You go to
Options
>
User Settings
>
Edit User Settings
Then in the
User Settings
pop-up menu, you select the
Macros
tab.
Click on the
Plus sign
to add your
Macro
folder path. It will show up in a
Macros
folder in your
Tool Palette
after you click
OK
and then
Save
.
The next option is to simply right-click anywhere on your canvas, select
Insert
and scroll down to
Macro...
Here you can navigate to where the macro is stored and insert it right on the canvas.
Lastly if you have received a workflow from a coworker and you open it and you see the black question mark icon. Chances are it is referring to a macro that is stored somewhere in their computer.
The workaround is to open the workflow in Notepad++ or an application like it.
Do a
Ctrl F
and search for the text word
Macro
directly in the xml code
.
Your results will display the folder location that is pointing to somewhere in their drive.
Replace this
File URL
with where the macro is stored. Save the workflow and then re-open it with Alteryx.
Another way to prevent this is to have a team folder for all macros that you all have access to.
Tips and Tricks
Macros
Accepted answers
All comments
Qiu
@dawnh80
Nicely summarized.
👍
Quick Links
Unanswered
Community Events
Groups
Tags
Workflow
Output
Preparation
Datasets
Input
Developer
Help
Tips and Tricks
Common Use Cases
Server
Transformation
Developer Tools
Macros
Data Investigation
Best Practices
This months top contributors
atcodedog05
19598
Qiu
15867
binu_acs
15708
MarqueeCrew
13708
apathetichell
13703