I've been adding a little JavaScript to my WebHelp pages for
quite some time to make them a bit more user friendly. In the
interest of easier maintenance, smaller files and speed, I thought
it would be best to shift this repeatedly used code to a separate
page and just link it. Apparently RoboHelp doesn't naturally like
this sort of finesse. After banging my head against the wall, it
occurred to me that the compiled project wasn't seeing something.
Sure enough, RoboHelp is not smart enough to put the required .js
file into your SSL folder. Once you put it in there. it seems to
work fine. I haven't yet published it out, so I don't know if it
will put it out there as well,. but one would hope so. Anyway due
diligence is required to making sure you include the latest copy of
the js file with your project.
This would be where you need to insert the file into the
Baggage files list. This list is present so you can inform RoboHelp
of all the files that it didn't create and manage. This way you can
ensure it is among the needed files.
In the Project tab of the RH left navigation pane, right
click "Baggage Files," select "New Baggage Files," and pick the
file. If it's not in your project folder, RH will graciously import
it for you.
If, as occasionally happens, RH cannot either add or delete
files from the folder, you can manually edit the rhbag.apj file in
a text editor such as Notepad.
I found the rhbag file when I looked at the project in Total
Commander. I edited it in NoteTab Light. This looks like something
the Adobe folks will need to fix when they revise X5. I guess if
you are determined to add a file, you should expect to roll up your
sleeves and do the same to another one! 🙂