export/import mapping in copy activity

braxx 461 Reputation points
2020-09-30T07:59:55.847+00:00

Hello,

Have a mapping built in copy activity with 240 columns mapped. Creation took some time.
I wonder is it a way to export this to let say json or other format to reuse it later?
Sometimes happen a schema change or espacially altering data types causes the mappings crashed.
I want to avoid rebuilding this again.

29343-capture25.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

Answer accepted by question author
  1. HarithaMaddi-MSFT 10,151 Reputation points
    2020-09-30T10:46:40.803+00:00

    Hi @BartoszWachocki-4076,

    Welcome to Microsoft Q&A Platform. Thanks for posting the query.

    The pipeline code can be seen as a JSON that allows editing and copying the contents. This JSON has all the column mappings chosen and the entire contents or partial contents from this JSON can be copied into a new pipeline which retains the mappings. Below GIF shows complete mapping copied into a new pipeline.

    29404-jsoncopyadf.gif

    Hope this helps! Please let us know for further queries and we will be glad to assist.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.