Skip to main content
Known Participant
March 13, 2019
Question

Scripts in upgrade to RH 2019?

  • March 13, 2019
  • 2 replies
  • 411 views

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 has been closed for replies.

    2 replies

    Adobe Employee
    March 14, 2019

    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

    Peter Grainge
    Community Expert
    Community Expert
    March 14, 2019

    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

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Community Expert
    March 14, 2019

    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...)