Dynamic link to pdf files in HappyFiles

I have a HappyFiles folder that I am uploading PDFs to. Is there a way I can create a dynamic list of just text showing the title of the PDF that links to the file URL for each PDF?

I’ve managed to make the list of PDF titles, but I can’t seem to get it to link to each PDF url dynamically.

1 Like

Did you ever figure this out? I’m trying to do the same thing.

1 Like

I’d also like to know how to do this. When I use the dynamic data name as the URL to the file, the file doesn’t open, I just get re-directed to the home page.

I found a solution for my case, maybe it works for you too. You need to use “:plain” after your dynamic data wherever you’re inserting it as a link to your PDF. For instance, I’m inserting my dynamic field “{post_terms_pa_sds}” into the link field of a button, and it looks like this: {post_terms_pa_sds:plain}.

If you insert your dynamic data without the “:plain”, Bricks wants to fetch the taxonomy/category/whatever link, if you use the “:plain” then it renders the field as just text and finds your file properly :slight_smile:

1 Like