Reputation: 838
I am trying to read ADLS files in a directory, read the content of the file, do some processing and store the file in adls but the destination file name will depend on one of the column values of input file.
To start with, this is my flow:
Inside Metadata:
Inside Foreach:
I am triggering a Mapping Data Flow inside ForEach activity:
My Mapping data flow inside ForEach :
Source settings of Mapping data flow:
Inside Metadata container dataset :
Filename is not getting resolved. I am getting the error message :
I am not sure if I am missing anything. Can any help. Thanks.
Note: I have referred this post too. Thanks Azure ADF V2 ForEach File CopyData from Blob Storage to SQL Table
Upvotes: 1
Views: 3815
Reputation: 6043
Yes, you are absolutely right. Add to yours answer. Have you set the value of sink File Name text field. So that it will create the same file in the target file folder.
It's value was set previous in the Foreach activity:
update:
What's yours Data preview looks like?
Upvotes: 0