Skip to main content
zitakocs
Known Participant
March 22, 2017
Question

Why does RH 11 delete map ID content in csh.js

  • March 22, 2017
  • 1 reply
  • 556 views

Hello everyone!

I am struggling with an odd situation and I cannot find a solution online: every time I re-generate the SSL (Responsive HTML5), the csh.js file (found in SSL > Responsive_HTML5 > whxdata) is overwritten. This is fine, however the information about map IDs and context-sensitive topics is deleted from the file. The text that remains is: gXMLBuffer ="<?xml version=\"1.0\" encoding=\"utf-8\" ?><csh-info></csh-info>";. I do not know what I am doing wrong, is there a setting, or an option I should select? The .h file still contains all the map ids.

Can anyone help?

Thank you!

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
March 24, 2017

I have moved this post to the RoboHelp HTML forum as I doubt the issue is related to the layout.

It is not something I have seen reported before so it's going to be trial and error.

Create a backup first. I always recommend creating the backup as a zip file. That prevents you opening it accidentally and working on it before you realise it was the backup. This way you always have a clean backup that can be used to create a new clean copy time after time.

Nest delete the CPD file, reopen the project and try again with the same layout.

Then try with a different HTML 5 layout, then with a webhelp layout.

Post back where that gets you.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

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
March 24, 2017

Also, are you working across a network or locally and which version of RoboHelp are you using?


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
zitakocs
zitakocsAuthor
Known Participant
March 24, 2017

Hello Peter,

Thank you for your reply!

We are using RH 11 and work on a locally stored RH project which is then committed to an SVN (versioning) server.

So, there is a new development, I found the problem. I will describe below, just in case anyone else runs into the same difficulty:
It seems that the issue described above only occured for my colleague. So, I checked out the latest version of the project (committed by her). I am the one who created the project and the Map IDs, I think I should mention this. So, when I build the help it is OK. Then, when she checks out my version and locally generates the output, the csh.js is overwritten and the Map ID info is deleted. Even though the *.h file created by me is in the project, when you open the file itself (with notepad) everything looks OK.
But, then we opened the Map ID file from RoboHelp and saw that even though all the Map IDs and Map # were there, there were no topics assigned. I did that when I created the project and assumed that this will be there automatically when my colleague opens the same project locally in RoboHelp. It seems not. So, manually assigning the topics in her local RoboHelp project solved the issue.

Thank you again, Peter, and I am sorry for wasting your time!

Regards,

Zita