• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Scripts in upgrade to RH 2019?

Explorer ,
Mar 13, 2019 Mar 13, 2019

Copy link to clipboard

Copied

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

Views

271

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 13, 2019 Mar 13, 2019

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 14, 2019 Mar 14, 2019

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2019 Mar 14, 2019

Copy link to clipboard

Copied

LATEST

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp