Start Free Trial

Alteryx Designer Desktop Discussions

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

Convert .xml files to .yxmd

rohit782192
11 - Bolide

Hello Champions,

 

I have a bunch of XML files which i want to convert to Alteryx workflow.

 

How can we do it and it is possible.

3 REPLIES 3
caltang
17 - Castor
17 - Castor

Does this discussion spark ideas? 

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Workflow-xml-file-yxmd/td-p/66...

 

In any case, do you have sample data for the community to look at?

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
rohit782192
11 - Bolide

I want to directly upload in Alteryx so Workflow can be created automatically.

mjf
8 - Asteroid

If I wanted to rename lots of .xml files into .yxmd files then I would use the for command in MS-DOS. Here are two ways to use the for command.

 

1) Open a DOS prompt (windows key, then type "dos" or "cmd") and navigate to the directory where the .xml files are using the 'cd' command. Then type the following,

for %i in (*.xml) do (move %~ni.xml %~ni.yxmd)

 

2) Create a new file in the directory where the .xml files called 'my_file.bat' containing the following,

for %%i in (*xml) do (
  move %%~ni.xml %%~ni.yxmd
)

Then, using a DOS prompt, navigate to the directory and type 'my_file'. These two approaches will convert every single .xml file in the directory to .yxmd by using the 'move' command.

 

Good luck.

Labels
Top Solution Authors