Dynamic list of attachments pulled from media library

I have a large site that has migrated. The migration has correctly attached the PDFs to their pages/posts from the media library. I want to create a dynamic query to populate download buttons at the bottom of the page based off of PDFs related to that page content.

I have tried various approaches. From what I can see the simplest is to create a loop with post type = media, mime = application/pdf, and then utilise the Child of = post_id. However, I don’t know how to populate the link field. I’ve looked through the options and nothing seems to work. Any assistance welcomed. I would also like to have the button title dynamically populate with the attachment name.

Screenshot of Single - Page - Heritage Centre & Archives