I hope you guys keep health and keep strong in Pandemic covid-19.
I have some question on Azure Data Factory. btw I have create some pipeline with Metadata activity with detail below:
I have file in Folder and Subfolder like this:
metadata with last modified like this (if you setting like this, metadata only read last modified subfolder
after that add variable I use @item().Name
to read file in that folder like this:
after running metadata which have subfolder, I've get error like this:
the error give info that with @item().Name
cannot read subfolder on that folder. the metadata for each file is success, but error like this which on my activity cannot read metadata subfolder .
many big thanks to have answer, Thank You
If you need to access the folder
Create a clone of same dataset and setup parameter as below, leave the file
field empty.
If you need to access the file inside directory, use condition @equals(item().type,'Folder')
to identity directory then inside that use dataset with parameters for directory and file.