Skip to main content
EmanAssem
Inspiring
May 13, 2020
Question

Attachment files not found in PDF Output

  • May 13, 2020
  • 2 replies
  • 773 views

I'm adding a PDF attachment to a number of the topics in RH 2019 project. I'm using the project as a single source for having HTML and PDF outputs. When clicking the attachment within the PDF, it shows that file not found. The attachment file is added locally on the project folders.

 

Is there another way to attach files to PDF output?

This topic has been closed for replies.

2 replies

Peter Grainge
Community Expert
Community Expert
May 19, 2020

I added the PDF to the project Assets but it could be any folder in the Contents panel. Then I added it to the TOC and selected Hide in Output.

 

When I generated I got this.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
May 13, 2020

First, please always specify New UI or Classic. I think you are on New UI but I cannot remember every version the everyone who comes here is using. 🙂

 

Your topics have PDFs attached. How have you attached them?

 

Then you create a PDF of the whole project, the pages of the whole project PDF show the attachments but the file is not found. Correct?

 

I am finding that while the project PDF and linked PDF are local, I get a warning that the project PDF is trying to access a local file. If I were to move the PDF it would change to cannot be found as the path would be wrong.

 

I don't think you can embed one PDF inside another but you can combine PDFs so that the linked ones appear at the end. They wouldn't be links though.

 

Maybe on some PDF forum someone can state whether what you want is possible.

 

 

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
EmanAssem
EmanAssemAuthor
Inspiring
May 14, 2020

The scenario is as follows

1. I've a topic and clicked "insert link", then I picked a PDF file from a local folder.
2. Generated two outputs:
- Html: when clicking pdf link it opens normally in a new window
- PDD printed output: The PDF file shows the links but when clicking it, it shows file not found.

That's RH 2019 latest version. I had to remove the attachment part manually from PDF output as I'm already using another conditional tag for two different clients.