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

    Inspiring
    August 28, 2020

    Hi Amebr.

     

    There are condition tags at the topic and content level of this topic.

     

    None of my condition expressions use Include statements.

     

    A few more details:

    • This wasn't a problem in RH2019, and I've changed nothing aside from upgrading to RH2020.
    • While I am citing a specific topic for example purposes, this problem affects ALL topics. 
    Community Expert
    August 28, 2020

    Are there condition tags on the problem topic? Have you used "Include" anywhere in your condition expressions? Just trying to see if there might be other interactions going on.