Skip to main content
Participant
September 27, 2012
Question

.xlsx baggage files opening as .zip files when published to RHS 9, Webhelp Output

  • September 27, 2012
  • 2 replies
  • 2801 views

Hi,

I am in the process of upgrading from RH8 to RH9. During our testing, my .xlsx baggage files are not opening properly once published to RoboHelp Server 8 or RoboHelp Server 9. These files open fine when previewing the project in RoboHelp 9. The problem only occurs once they are published. Our current workaround is to have the users save the file locally and then open it, however that is not a long term fix. This wasn't a problem when we were using RH8.

I've looked in all the places I can think of on the server and can't find anywhere that there would be a change in the file associations. Can anyone help?

This topic has been closed for replies.

2 replies

MMJWAuthor
Participant
September 28, 2012

The Excel file is being opened via a hyperlink to the baggage file which is housed on the RH9 server (image attached). Once the hyperlink is clicked, a dialog box appears with the option to Open, Save or Cancel. If the option to save is used and the file is saved to the local machine, the file opens correctly. If the option to Open is selected, another popup window appears asking if you want to open the file (image attached). This box identifies the file as a .zip file. If you try to open it, the WinZip dialog window opens as it trying to open a .zip file.

RoboColum_n_
Legend
September 28, 2012

Can you help us out a little by providing some more detail. It sounds like when the Excel file is being launched that you are getting the dialog with options for "Open", "Save" or "Cancel". Is that right? Also can you tell us how the Excel file is being opened (e.g. a hyperlink to the file). Ideally a picture or two of what you are seeing would be good.

Participant
October 1, 2012

I have the exact same problem.  It works fine in RoboHelp before publishing, the file is an .xlsx and the link points to it.  During the publishing process (or perhaps building process) the file is RENAMED to .zip.  It does not become zipped for storage space or someting, just both it and the link to it change .xlsx to .zip.

Thoughts?

Participant
October 2, 2012

Hi,

This is an issue with MIME-Mapping for new file formats such as docx, xlsx, pptx etc. You can add the following lines in web.xml file (which is prsent in <install location for Tomcat>\conf)

<mime-mapping>
<extension>xlsx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type>
</mime-mapping>

Restart tomcat and now the baggage file should open as an .xlsx file.

Thanks and regards,

Piyush


Thanks John, I had the same thought about xlsx since I knew they were archived formats.

Thanks Piyush... I am SOOOO mad at myself for not thinking about that, I have had the problem before in previous jobs but NEVER thought beyond RoboHelp for this issue.

FIXED... FYI I work with MMJM who started this post before she left for a conference, so consider her issue resolved as well.