Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
pmscorca
Kudo Kingpin
Kudo Kingpin

Using a wildcard in a get metadata activity to consider a specific set of files

Hi,

in a get metadata activity of a data pipeline I've tried to use a wildcard as "*.csv" in the file name cell of the file path section, but so the get metadata activity searchs a *.csv file.

It seems that it isn't possible to use an handy wildcard in a get metadata activity?

Any suggests in order to consider a specific set of files? Thanks

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

wildcard is not supported in Get metadata activity

NandanHegde_0-1719804561554.png

So you would have to use a combination of Get meta data activity and filter activity.

 

get all files present within the folder via Get meta data activity and then leveraging the filter activity, filter out CSV specific file extensions




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @pmscorca ,

 

As @NandanHegde said, the Get Metadata activity does not support wildcard filters on folders/files.

vkongfanfmsft_0-1719823564176.png

related document:

Get Metadata activity - Azure Data Factory & Azure Synapse | Microsoft Learn

 

Consider dynamically constructing file paths or names using expressions and variables in the pipeline.

related document:

Parameterize linked services - Azure Data Factory & Azure Synapse | Microsoft Learn

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

NandanHegde
Super User
Super User

wildcard is not supported in Get metadata activity

NandanHegde_0-1719804561554.png

So you would have to use a combination of Get meta data activity and filter activity.

 

get all files present within the folder via Get meta data activity and then leveraging the filter activity, filter out CSV specific file extensions




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.

Top Kudoed Authors