'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.



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 NiharikaMoola-MT