Page 1 of 1

PDFs for several documents in the WebHelp Responsive output

Posted: Thu Oct 14, 2021 12:30 pm
by Kristine
Hello,

We are trying out a transformation scenario for three documents in one project, but right now we cannot find an easy way to add a PDF for each document, not the entire project. The 'webhelp.pdf.link.url' attribute seems to allow only one PDF.

Do you have any suggestions on how to add three, respective PDFs for each document?

Thank you!

Re: PDFs for several documents in the WebHelp Responsive output

Posted: Fri Oct 15, 2021 12:20 pm
by Costin
Hello,

Indeed, in the current implementation of WebHelp, the "webhelp.pdf.link.url" allows a single value, so it is not possible to refer multiple PDF documents.
However, even if there is no predefined support for this, we already have a customization example to add a custom component and which could be used to associate a specific resource to a topic (you can find the customization and more details on the use-case https://github.com/oxygenxml/oxygen-pub ... -component).
In that specific example, the resource associated to the topic is a video file, but extrapolating this, maybe you could use the same procedure and adapt it to associate PDF files to your topics.

Regards,
Costin