Kenny_I
Kenny_I

Reputation: 2513

How to combine parameter and static value in Azure Data Factory?

I have Copy Data Activity in Azure Data Factory. I have OnPrem File system as Sink dataset.

Folder value is currently "Dev/Customers/Nissan".

I would like to use @pipeline().parameters.Environment for "Dev" value.

However following did not work "@pipeline().parameters.OnPremLoad_OnPremEnv/Customers/Nissan"

Please advice how to concatenate parameter and dynamic value.

Upvotes: 0

Views: 992

Answers (1)

NiharikaMoola
NiharikaMoola

Reputation: 5074

Use concat() function to add parameter to static value in the expression.

Ex:

Expression: @concat(pipeline().parameters.Environment,'/Customers/Nissan')

enter image description here

enter image description here

Upvotes: 2

Related Questions