Hi @Vinay5 ,
Thanks for reaching out. As per my understanding I assume that you might be pointing your dataset file path to '/data/' and hence you are just receiving the year folder name.
In order to get the file name list, you will have to point your dataset file path to the sub-folder where the files are actually located.
For example as below:
Which will result all the files inside the subfolder pointed in the file path of your dataset in Getmetadata activity.
In case if you need to pass the year/month/date dynamically then you will have to declare dataset parameter for each (for year, month & date) and then use concatenation function to form the file path in Dataset connection settings. And in GetMetadata activtiy level you can use dynamic expression to get the year, month and date values based on your requirement.
Concatenation expression used in below sample: @concat('input/',dataset().ds_yearFolder,'/',dataset().ds_monthFolder,'/',dataset().ds_dateFolder)
Below is a sample GIF (Please note that in this sample I am passing static values for year, month & date to dataset parameters)
Hope this helps. Do let us know if you have further query.
----------
Please don’t forget to Accept Answer
and Up-Vote
wherever the information provided helps you, this can be beneficial to other community members.