Skip to main content
Inspiring
August 27, 2020
Question

RH2020: Condition Tags Ignored at Paragraph Level

  • August 27, 2020
  • 22 replies
  • 575 views

I'm using RH2020.0.156

 

Well, this is an odd one. I have a topic that is shared between three applications (and we have four total): IC, Mobile, and Fusion (but not PG).

 

The topic is tagged as Not_PG (meaning it will show up for IC, Mobile, and Fusion).

 

Within the content, there are three tags: IC (only shows for IC output), Mobile_Fusion (shows for both Mobile and Fusion outputs), and Fusion (only shows for Fusion output).

 

In all outputs, if the condition tag is included at the paragraph level instead of the character level, it's being ignored and showing up for all outputs.

 

For example, this doesn't work, i.e. it's showing up for all outputs even though it's tagged for IC only:

 

<p class="Note" data-condition="Others:InformaCast">Note: If you disabled the automatic import of certificates...</p>

 

And this does work, i.e. it only shows up in the IC output:

 

<p class="Note"><span data-condition="Others:InformaCast">Note:If you disabled the automatic import of certificates...</span></p>

 

Even odder, everything shows up correctly in Preview mode, i.e. stuff excluded at the paragraph level stays excluded. 

 

Please tell me there's a fix for this. I have a lot of conditional text that's tagged at the paragraph level.

    This topic has been closed for replies.

    22 replies

    Nexgen Robohelp
    Known Participant
    April 12, 2021

    Thank you Peter for your guidance so far. I'm not familiar with the screen from My Basic Project that you attached to your previous reply. I'll try to explain in a little different way.

     

    Using another topic as an example... The topic is meant to be seen by audiences called “CT Local” and “MA.”

    The Output Condition Expression for audience “CT Local” is to include tags A or B or C.

    The Output Condition Expression for audience “MA” is to include tags B or D.

    My topic is tagged “B” at the Topic level. In the published build, both Audience “CT Local” and “MA” see that topic, as expected, because they both include “B.”

    My sample topic has some content tagged “A.” According to the build expression, that content should not show in the published file for “MA” but it does.

    When I use the Preview in Authoring mode and I select audience “MA,” the content tagged “A” does not show, which is how I expect it should be working in the published build. Your response that you contacted Adobe and they acknowledge that it's not working correctly is encouraging. 

    Attached is a screenshot showing the build expressions referenced above.

    Peter Grainge
    Community Expert
    Community Expert
    April 12, 2021

    If you are seeing this, albeit without Review, then you have the new UI.

    Review can be turned on if you ever need it by going to this screen from Edit > Preferences.

     

    As before, there is currently an issue with DCF where a topic has both topic and content level tags in it.

    ________________________________________________________
    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.
    Nexgen Robohelp
    Known Participant
    April 12, 2021

    I see Author and Output, but not Review, in the editing screen. Let me know if this screenshot answers the question.

    Peter Grainge
    Community Expert
    Community Expert
    April 12, 2021

    Classic does not have an Upgrade option so it must be the new UI. If you look top left you should see Author, Outputs and Review tabs.

    ________________________________________________________
    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.
    Jeff_Coatsworth
    Community Expert
    Community Expert
    April 12, 2021

    Not really - what's your project's editing screen look like?

    Peter Grainge
    Community Expert
    Community Expert
    April 10, 2021

    This reply was based on a misunderstanding of the issue. Content removed by me to tidy up the thread.

    ________________________________________________________
    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.
    Peter Grainge
    Community Expert
    Community Expert
    April 10, 2021

     

    This reply was based on a misunderstanding of the issue. Content removed by me to tidy up the thread.

     

    ________________________________________________________
    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.
    Jeff_Coatsworth
    Community Expert
    Community Expert
    April 9, 2021

    @Nexgen Robohelp is this for a Classic or New UI project? Check Peter's site (grainge.org) for his explanation of conditioning - he may have added it as a snippet to his list.

    Nexgen Robohelp
    Known Participant
    April 12, 2021

    OK well it's a little embarrassing that I'm not sure of the answer to that. I think it's Classic. When I click the File menu inside the project, there's an item in the menu called Upgrade RoboHelp Classic Project. Does that answer the question?

    Nexgen Robohelp
    Known Participant
    April 9, 2021

    I am having a similar (same?) problem. I have two topics that are tagged at the topic level for certain audiences, and that is working fine in the published output, but within those two topics there are content-level tags that are not working correctly in the published output. Let's say the content level tags are called CSP and Local. In the Local published output, some of the CSP content is showing, but not all of it; and in the CSP published output, the Local content is showing. In Authoring>Preview mode, everything shows up correctly.

    Nexgen Robohelp
    Known Participant
    April 9, 2021

    I neglected to say what version I'm using. This is RoboHelp 2019.0.14.

    Peter Grainge
    Community Expert
    Community Expert
    August 28, 2020

    I recently discovered that AND/OR work in different ways to what you might expect. This is because of historical reasons from long before Adobe came on the scene but if they change it, that would mess everyone up. What can be done is reviewed.

     

    Meantime I have prepared a PDF that explains how expressions should be working. I can't upload it here so email me via my Contact page. It does rather sound as if the way the tags and expressions are working is not what you would expect.

     

    My suggestion would be that rather than play around with your live project, create a new project with just the minimum number of topics to test things noting what's in the PDF. If that works, you have your answer, if not come back and let us know.

     

     

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