Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Macro

vijaylnyadav
8 - Asteroid

Hi All,

 

I am facing an issue of macro.

 

I am having a workflow which have a macro in it.

 

But when I am sending this workflow to my colleague then the machine is getting my PC path of macro.

 

Where as I am using "./" as a macro path and I am sending the whole folder in a zip file.

 

But still my colleague is getting my machine path address. 

7 REPLIES 7
Qiu
20 - Arcturus
20 - Arcturus

@vijaylnyadav 
The best pratice so far we know is 

1. save the macro in the same folder of your workflow

2. Use insert option to add the macro to your workflow.

3. Export the workflow as package.

Macro.png

vijaylnyadav
8 - Asteroid

I am having an analytic app workflow and under that folder i have created a macro folder where all the macros are present.

 

Is this fine or i have to keep my workflow and macro in a single folder

Qiu
20 - Arcturus
20 - Arcturus

@vijaylnyadav 
My experience is that they have to be in the same folder.
Actually this is better for any future maitenance.

vijaylnyadav
8 - Asteroid

Hi @Qiu  i want my colleague to access only the app which is been created and not the macros.

 

They should only run the app and give the input and output path and get the results.

 

But when they are opening then macro error are popping up for path not found

Qiu
20 - Arcturus
20 - Arcturus

@vijaylnyadav 
User will need the macro anyway in order for the workflow to run.

If you want to prevent from user to modify the workflow, you can use the Lock Option.

Note make a copy before lock. Once you lock you can not unlock it.

Lock.png

vijaylnyadav
8 - Asteroid

hi @Qiu thanks for your idea,

 

if i lock the workflow or encrypt the workflow and if i use package then does it resolve the issue of missing or inaccessible?

Qiu
20 - Arcturus
20 - Arcturus

@vijaylnyadav 
Like I said, the macro is an integral part of your workflow.

Maybe someone else have better idea, but for me.

save the macro in the same folder of workflow would be the best practice.

Labels