Display Content PDF as an Image on a page

  • 1
  • Question
  • Updated 2 years ago
  • (Edited)
I am having difficultly figuring out how to use merge syntax and Content ID to display a PDF from our Content Library in an Image component. We store 1 Content record ID per related record which is all referenced within our models, but I can't work out why I can't see anything on our page
Photo of Ainslie Baker

Ainslie Baker

  • 84 Points 75 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Ainslie,

How do you store the Content record ID? Are you looking at the ContentDocument object or did you add a custom field or is it some other way? Is there a field that is a reference to an image or a File? Could you post a screenshot of your setup on the backend?

Thanks!