ACF trying to open an uploaded PDF in new window

I’ve created a page build/addition function for a client using CPTUI and ACF, and one of the fields allows them to upload a PDF to that certain post. I’m trying to get the resulting page/post to open the PDF URL on button click, but I’m doing something wrong… Can you help with what DC code I should be inputting?

Thanks

Hello @underbitestudio,

Thanks for writing to us.

Add Button (enable Link ) or Headline (enable Link ). For PDF URL** (Button/Headline Link). I would suggest you add this dynamic content code {{dc:acf:post_field field="your_post_meta_key"}}. Replace your_post_meta_key with your actual field name.

Hope it helps
Thanks