Skip to main content
Known Participant
September 9, 2021
Question

RoboHelp 2020 - Topic and Text Conditional Tag Issues

  • September 9, 2021
  • 6 replies
  • 351 views

I recently migrated from RoboHelp Classic 2019 to 2020. I'm having an issue with topics that have conditional tags at the topic level and at the content level. For example, Topic 1 is tagged for Audience 1 and Audience 2, but not Audience 3. Topic 1 also has tagged text that is specific to Audience 1 and different tagged text that is specific to Audience 2.

 

The expected behavior is that the builds for Audience 1 and 2 should have Topic 1 with the corresponding audience text. Topic1 should not show in the build for Audience 3. What happens is that Topic 1 is in the builds for Audience 1 and 2, but the text for both audiences show in the topic.

 

If I remove the topic level conditional tag, then the proper audience text appears in the builds for Audience 1 and 2, but then Topic 1 is included in Audience 3 build and you can search for it and find it.

 

Any ideas what the issue is? The builds worked fine 2019.

 

    This topic has been closed for replies.

    6 replies

    Peter Grainge
    Community Expert
    Community Expert
    September 11, 2021

    The whole thing is a bit more complex than it might appear because of the way expressions were first set up long before Adobe owned RoboHelp. Adobe cannot fix the issue as to do so would break all existing expressions. They are between a rock and a hard place.

     

    Take a look at Build Expressions (grainge.org) and in particular download the demo project to understand better.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Known Participant
    September 10, 2021

    I have 11 audiences/clients. So my current build statement for Client 1 is:

     

    Include when audience is Client 1

     

    Are you saying the build statement should be:

     

    Exclude when audience is Client 2
    OR
    Exclude when audience is Client 3
    OR
    Exclude when audience is Client 4
    OR
    Exclude when audience is Client 5
    OR
    Exclude when audience is Client 6
    OR
    Exclude when audience is Client 7
    OR
    Exclude when audience is Client 8
    OR
    Exclude when audience is Client 9
    OR
    Exclude when audience is Client 10
    OR
    Exclude when audience is Client 11

    Peter Grainge
    Community Expert
    Community Expert
    September 10, 2021

    Exclude statements have always worked best with RoboHelp. You have said it all worked in 2019 and to the best of my knowledge nothing changed in 2020 so it should still work.

     

    Topic 1 is tagged for Audience 1 and Audience 2, but not Audience 3. Topic 1 also has tagged text that is specific to Audience 1 and different tagged text that is specific to Audience 2.

     

    I suspect what is going on here is the Audience 3 build is looking at Topic 1 and including it for 1 and 2 because of your tag and including it for 3 because it is untagged for 3. The build expression is saying include 2 and 3 but for this purpose Topic 1 will be untagged in the sense that 3 is not applied.

     

    Try adding tag 3 to the topic but leaving the build expression alone.

     

    Personally I would go with the fact that over twenty years of using RoboHelp, include has been behind many problems, changing to exclude has fixed things.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

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

    How do you have your condition expression set up? Just using 'exclude'  or do you have 'include' selected sometimes?

    Known Participant
    September 10, 2021

    All of my conditional expressions are "include" statements. I don't use "exclude" at all.

    Participating Frequently
    September 10, 2021

    Are the "includes" connected with OR and "excludes" connected with AND?

    Jeff_Coatsworth
    Community Expert
    Community Expert
    September 9, 2021

    And you're including all topics in the TOC? (that's new for the New UI versions)

    Known Participant
    September 9, 2021

    Yes. I fixed that soon after I upgraded.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    September 9, 2021

    What version of RH2020 - that issue sounds vaguely familiar & I think it was fixed already.

    Known Participant
    September 9, 2021

    2020.5.71