Hi Alteryx Community!
I am new to creating macros and am running into some trouble. I am using a a "Text Input" in the Macro Input tool. The Macro is asking the user to choose:
1) Primary Key Field
2) Latitude Field
3) Longitude Field
As expected, the Macro's output keeps the name of these three fields as "Primary Key", "Latitude", and "Longitude". However, I would like the Primary Key field to be renamed to whatever the user selects to use as their primary field (rather than the output simply calling that column Primary Key)
For example, if the user selects Store, City, or SiteNumber as the Primary Key input.... then the output should also be Store, City, or SiteNumber (rather than it defaulting back to being called "Primary Key")
Thanks!
Solved! Go to Solution.
That was a really helpful tip - I could not figure out why my macro was renaming columns, and this action tool sorted it out. Thanks!