Skip to main content
AdvancedHelp
Known Participant
January 26, 2021
Question

Snippets not included in Responsive help output Robohelp 2020

  • January 26, 2021
  • 18 replies
  • 618 views

Hi,

I've been converting a large set of projects that have three flavours to them.

Two of them have directly competing words, Outlay is used instead of Disbursment, and so on.

To correct this, Snippets were used in topics so that the titles would be correct. Variables were used to then change the text so that when you look at a Disbursment topic, you see the word Disbursment by using Conditional Text within the variables.

When I changed to 2020, it seems to have stopped working. 

This topic:

Becomes this in output:

There isn't even any formatting of a header and footer.

I had noticed that the variables had lost a lot of the conditional text when I imported them, but they seem to work ok in normal topics. Is this because of the combination of Snippet with Variables that themselves have conditional text? Or another bug?

 

It worked in Classic with no problems.

 

Thanks,

Nicola

This topic has been closed for replies.

18 replies

AdvancedHelp
Known Participant
January 26, 2021

It worked in RH Classic 2019. I've only just converted this huge set of projects to 2020, and found this out by accident.

The conditional text is inside variables, which are used inside snippets to give me the output I need. 

Because of the limitations with the TOC where conditional text doens't work, this was the only way to get the titles and contents to match without having duplicate topics (and the issues that come with that)

 

Nicola

AdvancedHelp
Known Participant
January 26, 2021

It still gives the same result even having no Conditional Expression selected at all. 

And it's not the only topic, every single one that has been built in the same way isn't working.

 

Jeff_Coatsworth
Community Expert
Community Expert
January 26, 2021

Didn't this sort of thing use to get handled in prior RH versions with a user-defined variable set instead of snippets? Like using "Product_name" - where depending on the CBT chosen, you got Product A or Product B, etc. in your output?

Peter Grainge
Community Expert
Community Expert
January 26, 2021

I mean you have applied an expression in your preset that is excluding the topic. Try generating without any expression applied.

________________________________________________________
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.
AdvancedHelp
Known Participant
January 26, 2021

Sorry Peter, "tagged out"???

I'm not sure what you mean. Too many tags????

Here's the source code:

It's compiled as Country_EWNI. The empty screen showed the output, by the way, not the source in RH.

 

Nicola

Peter Grainge
Community Expert
Community Expert
January 26, 2021

If you are up to date that looks more like the whole snippet has been tagged out, there's nothing there.

________________________________________________________
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.
AdvancedHelp
Known Participant
January 26, 2021

Sorry, forgot to say that. I am up-to-date and on patch 3.

Thanks,

Nicola

Jeff_Coatsworth
Community Expert
Community Expert
January 26, 2021

What version of 2020 are you running? Make sure you're running the 3rd patch.