Skip to main content
Known Participant
Mar 13, 2019 6:24 PM UTC
Question

Scripts in upgrade to RH 2019?

We are experimenting with upgrading our current RH projects to 2019.  They have scripts in the body of the topic, and it seems that, unless you move them to the footer (one by one, for hundreds), they are wiped out when you do the upgrade.  Is there any way we can avoid this?  We use FAR HTML, so if anyone knows a way to use that to move them, that would help too.

Thanks for any help....

Marion

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Adobe Employee
    Mar 14, 2019 11:37 AM UTC

    Hi MarionJD,

    The script tags are upgraded correctly during project upgrade in RH 2019. Would it feasible for you to share a sample html file's body section, just to understand the syntax you are using in those topics. Also from which version you are upgrading to RH 2019?

    Regards,

    Vikas Singla

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Mar 14, 2019 1:24 PM UTC

    MarionJD​ Put the file somewhere like Dropbox or Google Drive and send Vikas a private message.with a link.


    See www.grainge.org for free RoboHelp and Authoring information.

    @petergrainge

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Community Expert
    Mar 14, 2019 1:32 AM UTC

    I did a really quick test with a script link added in the body of a single topic and it seemed to convert okay.

    <script type="text/javascript" src="scripts\test.js"></script>

    The path was changed from "scripts\test.js" to "assets\js\test.js" and the js file was in the specified location

    I also did one with the script code included in the topic and the code remained in the topic after the upgrade.

    <script type="text\javascript">alert("hello world")</script>

    I upgraded from RH11 to Robohelp 2019 (New) Update 5.

    Make sure you have all the updates installed and try again. If it still doesn't work, let us know which version you are upgrading from and how you are including the script in the topic. (It could also be the phase of the moon, and another attempt will just work. I've had that happen so many times over the years...)

    Translate