Hi Alteryx Community,
I have run into a problem with regards to writing/editing/manipulating the meta data of an alteryx data frame.
I have a flow which use multiple inputs, joins them and towards the end, i would like to deselect fields and only keep primary keys in my dataset.
For this, It would be nice if I can label the field description(metadata) at the input stage using a macros for all coloumns comming from that specific input.
The solution that I have currently built looks like this

But it is not dynamic enough as I have to still map the fields. What I would like is a simple macro, that only asks me where the fields are coming from and then automatically label description (in the metadata) to what I write as an answer to that question.
For example if I have data coming from customer sales data base, the macro would ask where is it coming from, and once I write something like "from customer_sales_2018", it would automatically type "from customer_sales_2018" in the field description of all fields coming from that source.
Has anyone built a solution like that?