Page 1 of 1

Xrefs not being copied to output folder - webhelp

Posted: Fri May 30, 2014 4:07 am
by rminaker
Hi,

I've created several .dita topics where I've inserted File Reference Xrefs to PDF and Excel files. When I generate a Webhelp output, the PDF files are automatically copied over to the output directory, but the Excel files aren't. If I move the Excel files manually (copy / paste) everything works fine.

Is there a setting or a tweak I need to make to my template to tell the plugin/scenario to move the Excel files to the output folder along with the PDFs?

This is what my links look like. The only difference seems to be the 'format'.

<entry><xref
href="folder/file_name.xlsx"
format="xlsx" scope="external">Excel file</xref></entry>

<entry><xref
href="folder/file_name.pdf"
format="pdf" scope="external">Excel file</xref></entry>

Thanks!

R.

Re: Xrefs not being copied to output folder - webhelp

Posted: Fri May 30, 2014 4:54 pm
by sorin_ristache
Hi,

You need to add .xslx to the list of supported DITA resource types and also add the folder/file_name.xlsx file as a resource reference to the map (a topicref with the processing-role="resource-only" attribute). Please see this topic for more details.


Regards,
Sorin