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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
caomayan
Helper I
Helper I

get a list of PDF metadata

Hi folks! I need to get metadata (created, size, item name etc.) for a bunch of PDF files on Shared drive, how can I achieve this? My plan is to get the childname from the first "Get Metadata", then loop the name into the second "Get Metadata", but it errors out. 

 

Thanks a lot!

 

caomayan_0-1730906797419.png

 

1 ACCEPTED SOLUTION

Feed them into a notebook as separate parameters, then either create a dataframe with the parameters and 'append' it to an existing table *or* dynamically generate a SQL INSERT statement with the wanted parameters being used 

View solution in original post

4 REPLIES 4
spencer_sa
Super User
Super User

How I got it to work for me:
Pipeline. similiar to yours, although my first is looking up all files in a lakehouse.

spencer_sa_1-1730929033754.png


ForEach Items property

spencer_sa_0-1730929005904.png

 

2nd Get Metadata settings - note the .name

spencer_sa_2-1730929115634.png

 

And the output

spencer_sa_3-1730929175001.png

 

Also note this works with GenII datalake connections too;

spencer_sa_4-1730930956947.png

 

Thanks so much, got it works!

 

Next, how can I get these fields into a lakehouse table? I am thinking notebook, but didn't find a way yet..

 

caomayan_0-1731084857959.png

 

Feed them into a notebook as separate parameters, then either create a dataframe with the parameters and 'append' it to an existing table *or* dynamically generate a SQL INSERT statement with the wanted parameters being used 

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.