Alteryx Designer Desktop Discussions

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

Can a macro output all input fields, even if they are not in Template Input?

Philip
12 - Quasar

I needed to covert decimal degree coordinates into degrees-minutes-seconds coordinates, so I created a little macro. I'd like to have it available to put inside any workflow, choose the latitude and longitude coordinates, and output all the fields from the original input data (like the Spatial Info tool does).

 

I'm not sure what terms to search for to do this. Is there a way to have a macro take any input, add the fields, then output all the original fields without having to join after?

 

<Example attached>

2 REPLIES 2
michael_treadwell
ACE Emeritus
ACE Emeritus

Inside of your Convert DD to DMS macro, in the Select Tool, check the box by *Unknown. This allows any unknown field in the macro input pass through the macro.

 

Capture.PNG

Philip
12 - Quasar

Oh, cool! I didn't know it was that simple. Thank you!

Labels