Skip to main content
AdvancedHelp
Known Participant
November 27, 2018
Question

Robohelp 2019 not importing Conditional tags correctly

  • November 27, 2018
  • 2 replies
  • 4946 views

Annnnd yet another problem with 2019 (the new version, not the classic).

I've just tried importing a project to see if variables are correctly imported (they are on the two projects I tried), and discovered that RH is now not importing conditional tagged text correctly.

So, in Classic, the code is:

<li class="list-ordered">Select<?rh-cbt_start condition="Intranet_Only" ?>

  <?rh-cbt_end ?><?rh-cbt_start condition="Intranet_Only" ?><span style="font-weight: bold;">Tools</span><?rh-cbt_end ?><?rh-cbt_start condition="Intranet_Only" ?>:   <?rh-cbt_end ?><?rh-cbt_start condition="Intranet_Only" ?><span style="font-weight: bold;">Clause

  Organiser...</span><?rh-cbt_end ?><?rh-cbt_start condition="Hidden, Hide" ?>not

  <?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?><span style="font-weight: bold;">Admin</span><?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?>:   <?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?><span style="font-weight: bold;">Organiser</span><?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?>   from the menu, and click the <?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?><span

  style="font-weight: bold;">Clause</span><?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?>

  tab<?rh-cbt_end ?>.</li>

Horrible, right-- for those that can't work it out, it's supposed to be <intranet_only><hide><desktop_only> but the tags multiply as you write. Basically I have two sentences butting up to each other, one for each version of the software, and a <hide> in the middle because RH got a bit dodgy about having two Conditional tags next to each other.

So the text for Intranet should be:

         Select Tools: Clause Organiser...

And the text for Desktop...

     Select Admin: Organiser from the menu, and click the Clause tab.

However, the new 2019 version comes up with:

<li class="list-ordered">Select <span data-condition="Others:Intranet_Only" style="font-weight: bold;">Tools</span><span data-condition="Others:Intranet_Only">: </span><span style="font-weight: bold;">Clause Organiser...</span>not <span style="font-weight: bold;">Admin</span>: <span style="font-weight: bold;">Organiser</span> from the menu, and click the <span style="font-weight: bold;">Clause</span> tab.</li>

Simpler, right? Except it's missed out <hide><desktop_only> meaning that the text for Intranet is:

     Select Tools: Clause Organiser...not Admin: Organiser from the menu, and click the Clause tab.

And the text for Desktop is:

     Select Clause Organiser...not Admin: Organiser from the menu, and click the Clause tab.

Which is just so wrong on both counts. It doesn't even get one version right.

And this has been used throughout the project as two applications use the same help.

We also have another product in the range which is even worse for using Conditional Tags so it's not as though this is a one off for us.

This topic has been closed for replies.

2 replies

AdvancedHelp
Known Participant
January 2, 2019

Update: As of 2/1/19, RH 2019 is now importing complex conditional text tags without me having to do anything to the original code.

TatuMbili
Inspiring
March 4, 2019

As of 3/4/2019, I have upgraded an RH 2015 project which had conditional tags on every screenshot in the project, over 800 pages with at least one screenshot on each page, as well as navigation texts with conditional tags to RH 2019 and my conditional tags have haphazardly been applied/deleted/moved. On some pages, the text for the conditional tags has been moved into the Image Title box so this is the title of the image: Condition [Audience:Linux;Audience:Mac]. Every one of my images had an Alternate text too, thank goodness, because that's what I'm using to replace the title in the boxes that do not have a condition tag text in them. When I try to replace that condition tag text that is in the Image title box, it will not take. Highlight and type, highlight, delete and type, nothing works to replace that text.

So far, including the fact that I haven't been able to connect my project to TFS since I updated (problem being investigated for almost 2 weeks by Adobe Customer Care), I'm very not impressed.

Peter Grainge
Community Expert
Community Expert
March 4, 2019

Try upgrading to 2019 Classic first, then upgrade that to 2019.

Peter Grainge

www.grainge.org

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
November 27, 2018

Where you post the code for Classic, I'm not clear whether you mean an earlier version or you have upgraded to both 2019 and 2019 Classic.

If it was wrong in an earlier version but worked and you lived with it, then I'm not sure what to suggest apart from the obvious answer of correcting it, which sounds like a major piece of work.

Tags multiplying was an issue but it was several versions back and there was a fix to stop it happening. I can't recall if it fixed the duplication.


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.
AdvancedHelp
Known Participant
November 28, 2018

Hi Peter,

By Classic, I mean 2019 Classic. By New, I mean the fancy new 2019 RH design. All my projects are upgraded to 2019 Classic as I had a new computer given to me, and that was the version I installed, and the only version on this machine.

The problem isn't that there are too many tags, the issue is that in the new 2019 it is deleting half the conditional tags in my code. Therefore the text that is in the output is gibberish because it's showing (not quite) two versions simultaneously in the output.

I'm not bothered about there being too many tags-- as long as the end content is right. I've never heard of a version of RH that cleaned them up, and I've updated my projects to every version of RH since 2011 (at this company).

What bothers me is that the new design 2019 RH is useless to me while it can't reproduce my tags correctly, as I don't have time to go back and redo work that shouldn't need redoing.

It's a bug, and it needs sorting.

Peter Grainge
Community Expert
Community Expert
November 28, 2018

You may not be bothered by too many tags but I'm wondering if that is the root cause. Can you look at an old backup to see if they had too many instances of a tag around certain text. I'm getting at duplicated tags for a string.

What I am wondering is whether the original bug causing that did not affect things until now?

Let me know that and I will see what I can find out. Also import a single topic that has that problem in a new 2019 Classic project and then upgrade it. I am hoping that will have the same problem so that there is something that Adobe can look at.


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.