We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Alteryx Unable to verify that the correct file name was given for yxmc macro file.

r_elderton
5 - Atom

I had an alteryx package that was shared with me and the macros work and I can open them in my downloads folder. However, whenever I try to move the macros or even "Save as" the file to a new location where I want to finish my development and store my macros i receive an error that the file path does not exist and to verify that the correct file name was given. 

 

For additional information, I am trying to use best practices and have a project folder where my workflow and a subfolder for my macros are stored. The macro subfolder is where I am trying to move my macros. 

 

For reference, I am also using Alteryx Designer version 2024.2.1.41

 

Any tips or insight on how to troubleshoot or resolve this are greatly appreciated.

3 REPLIES 3
JoshuaM
9 - Comet

Hi @r_elderton Can you share a snip of the error messages?

 

I'm curious if you go to Options > Workflow Dependencies, do the macros full path exist there? 

 

Also just ensuring that you tried importing the workflow package to a destination directory other than Downloads? Try doing this to a different folder if not.

 

If you do not have too many macros, you could also create a new workflow in the desired destination and copy+paste the macro tools. When saving, the workflow should switch the the appropriate macro type. 

 

 

r_elderton
5 - Atom

Hi @JoshuaM, thanks for the response. 

When I go to workflow dependencies, I am seeing the file path for my downloads folder. When I attempt to update that dependency, that is another spot where I am seeing an issue where Alteryx tells me to Verify the Correct File name. 

 

 

As for the import in another directory, the import does fail with a similar message that it is unable to locate certain macros. 

 

Unfortunately, there are dozens of macros, some of which are embedded inside one another, so creating a new workflow would be a last resort.

JoshuaM
9 - Comet

@r_elderton 

I was not clear if you were able to move your macros out of the download folder to the subfolder successfully (i.e. by simply copying and pasting the file without opening Alteryx).

I do not foresee any issues here as your OS should allow you to do this similar to moving a Microsoft document.

Then do the same for your main workflow(s) in the project folder.

What you then want to do is:

  1. Edit your workflow in notepad (right click then under options edit in notepad).
  2. Here you should see the associated macros in the XML as "<EngineSettings Macro=" with a file path similar to ".\MACRO1.yxmc" .
  3. You should be able to edit the ".\" to the applicable file path. 

 

I just tried this and worked successfully:

 

 

1)Workflow and Macro in same folder

1.png

2) No issues when I open Main workflow

2.png 

3) Move Macro to subfolder

3.png

4)Error with Main workflow (cannot locate Macro)

3.1.png

5) Edit Main workflow in notepad. Update XML of Macro location  with Full path of new location

4.png

Labels
Top Solution Authors