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

197

Likes

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 Community Professional ,
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...)

Likes

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

Likes

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 Community Professional ,
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

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

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