Robohelp 2019 not importing Conditional tags correctly

Community Beginner ,
Nov 27, 2018 Nov 27, 2018

Copy link to clipboard

Copied

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.

Views

2.6K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 27, 2018 Nov 27, 2018

Copy link to clipboard

Copied

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

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 28, 2018 Nov 28, 2018

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 28, 2018 Nov 28, 2018

Copy link to clipboard

Copied

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

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 28, 2018 Nov 28, 2018

Copy link to clipboard

Copied

It was an issue back in RoboHelp 9. See Item 10 in Using RoboHelp 9

I doubt it is a hangover from that so I am wondering what you are seeing this duplication. Can you share something like the above project with me? I expect I am still caught by the company's confidentiality clauses.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 28, 2018 Nov 28, 2018

Copy link to clipboard

Copied

Due to the loss of a server, I no longer have backups that go back far enough not to have the multiple tag issue.

The problem isn't with Classic 2019, it's with the New 2019. I only get the issue when I upgrade a Classic 2019 project up to a New 2019 project.

Let me repeat, the variables are working correctly in Classic 2019. They cover the right parts of the text, and display the text correctly in the output.

It's only when I go to New 2019 that about half of the variables are deleted.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 28, 2018 Nov 28, 2018

Copy link to clipboard

Copied

At the beginning you said "So, in Classic, the code is:" Also you are now talking about variables rather than conditions.

I'll await the project in 2019 Classic format with your notes and take it from there.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 28, 2018 Nov 28, 2018

Copy link to clipboard

Copied

Sorry, slip of the keyboard (or brain). I'm only talking about conditional text.

Variables was the last issue I had with RH

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 01, 2018 Dec 01, 2018

Copy link to clipboard

Copied

For anyone following this thread, the problem was caused by conditional tags having been duplicated at some point during the project's life. There was an issue such as this back in RoboHelp 9 but I don't know if that is the cause here. What you see is a string with the tag applied many times over instead of once.

I removed all tagging from a string so that nothing was applied. Then I applied the tags again. With that done, the project worked correctly in 2019 Classic and upgraded correctly to the new 2019.

I don't envy anyone the task of cleaning up the duplication.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 02, 2019 Jan 02, 2019

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 04, 2019 Mar 04, 2019

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 04, 2019 Mar 04, 2019

Copy link to clipboard

Copied

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

Peter Grainge

www.grainge.org

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 04, 2019 Mar 04, 2019

Copy link to clipboard

Copied

Hmm, in previous versions when you were required to upgrade your project to the new version, there was an “Upgrade Project” option. I don’t see that in RH Classic 2019. Is it just a case of opening and then saving the project in RH Classic 2019 before opening it in RH 2019 and using the “Upgrade Project” option there?

Yours truly,

Helen

****************************************

Personal information removed by moderator.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 04, 2019 Mar 04, 2019

Copy link to clipboard

Copied

Regarding TFS issues, request you to attend the following session.

Customer Connect program - This week’s session is on Integration with GIT & Team Foundation Server(TFS). Session details below:

  • Topic: Integration with GIT and Team Foundation Server (TFS)
  • Date and Time: 7th March 2019 (Thursday); 7 AM PST | 4 PM CET
  • Duration: 1 hour
  • Meeting Link: https://bluejeans.com/9910633400
  • Session Hosted by: Adobe RoboHelp Product Team

No pre-registration needed. Customers need to block their own calendar in advance and show up at the proposed time on the right date.

Hopefully we should have you up and running on the TFS issue you are facing.

Regarding upgrade issue please try first upgrading Rh2015 -> RH2019 classic -> RH2019 and let us know if that works.

Thanks

Amitoj Singh

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2019 Mar 05, 2019

Copy link to clipboard

Copied

Hello,

Unfortunately, I will be on an airplane at that time. I am leaving here at 6.45am EST, arriving at my destination at 11.40am EST. Sorry, I can’t make it. Will there be a replay/video of the session available afterwards?

Yours truly,

Helen

****************************************

Personal information removed by moderator.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 28, 2019 Mar 28, 2019

Copy link to clipboard

Copied

Hello Peter,

I went back and carefully edited my backup copy of my project in RoboHelp Classic 2019 to ensure my conditional tags were all correctly placed. Then I upgraded it in RoboHelp 2019. My conditions are to select for Mac, Linux or Windows screenshots to output three different versions of my project. Mac output works, not showing any of the other OS screenshots. Linux output shows Mac and Linux screenshots. Windows shows all three. All three outputs worked in RH Classic 2019, I examined every page in every output.

When I look at a sample topic that is not working and examine the what-used-to-be-correct conditional tags as well as the Alternate text and Image title, the text of the condition is in the Title box and I can't remove it. Example of source code here:

This one is correct and appears correctly in the Linux generated version, including the respective titles:

<p style="text-align: right;">

            <img alt="Profile" border="0" data-condition="Others:Linux" src="../assets/images/Images/profile.jpg" style="border: none;" title="Profile" /> <img alt="Profile" border="0" data-condition="Others:Mac;Others:Win" src="../assets/images/Images/profilelinux.jpg" style="border: none;" title="Profile" /></p>

In this one, in the Linux generated output, the second image, Mac, and the third one Linux, both appear in the output. Every image was defined previously with Alt text and Title, they are haphazardly there or not now:

<p style="text-align: center;"><img alt="" border="0" data-condition="Others:Mac;Others:Linux" src="../assets/images/Images/contactrightclick.jpg" style="border: none;" title="Add Group" /><img alt="Contact Right Click Menu" border="0" data-condition="Others:Win;Others:Linux" src="../assets/images/Images/contactmenumac.jpg" style="border: none; cursor: nwse-resize;" title="Contact Right Click Menu" />

            <img alt="" border="0" data-condition="Others:Mac;Others:Win" src="../assets/images/Images/contactsrightmenulinux.jpg" style="border: none;" />

What I see in Author view is this:

When I select the Linux picture, the last one, the Topic tab shows Content level tags of Mac, Linux and Win. Mind you, it shows the same for all three.

I'm unwilling to go ahead with RH 2019 to only fix the problem of our Index and Search functions in Safari not being correct if it's going to mess up all my screenshots in this way.

Any help is desperately appreciated.

Helen

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 29, 2019 Mar 29, 2019

Copy link to clipboard

Copied

Am I getting it right that the tags are still getting written into the Image Title for some images? Are the tags also showing as being applied to the images correctly or is it the case that they get written in one place only, sometimes the right one and sometimes the wrong one?

Have you applied the updates and have you tried upgrading again after applying the updates?

If that doesn't help, with a copy of your 2015 project, delete all the topics except a few and upgrade that to 2019 Classic and then 2019. I'm hoping that will still exhibit the problem so that you can send that to me. I will see if there is anything I can spot and if not, then maybe I can liaise with Adobe. See the Contact page on my site if it gets to this stage.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2019 Apr 08, 2019

Copy link to clipboard

Copied

Hello Peter,

I've sent you the zipped example of my reduced project in RH 2019 as you had requested. Your assistance is very much appreciated. You'll see that I have strange output from my conditional tags, should I post another query here regarding that?

Helen

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

I see the condition tags in the Image Title. Could you also send me the Classic version from 2015 and 2019 so that I can see the tagging there and test whether I get a different result.

It will also let me see the expressions there. In what you have sent me, iOS is only set to exclude Android, See other tags would not get excluded.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

I think I may have identified when the tags end up in Image Title. Please check the both 2019 and Classic. I think you will find it is when in Classic there is neither a Screen Tip nor Alt Text.

It shouldn't show the tags in Image Title but it does look as if the tags are applied but showing there as well. The first three images in Add a Contact Group are where I found this.

I will correct things in the 2019 version I have but I need you to explain what outputs and expressions to use to get the different results.In other words, use output X with build expression x to just see which images. What I am hoping is by using each combination you advise, I will see different things in the output. Maybe I need to be using a different file?


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

Ok, here I will show that I was stumbling my way through when I started with RH 9. My tags are Not_in_MyName, Not_in_Linux and Not_in_Mac. I have an iOS and Mac section as well so in this part of the project, topics are tagged with iOS and Android. At this point, all I'm worried about are the Windows, Mac and Linux outputs.

Each screenshot is tagged thusly:

  • a Windows screenshot is tagged with Not_in_Mac and Not_in Linux,
  • Mac with Not_in_MyName and Not_in_Linux and
  • Linux screenshots with Not_in_MyName and Not_in_Mac.

For Windows output, my preset output is called MyNameLayout. The Conditional Tag expression is called Windows_Only with an Exclude from output of Not_in_MyName.

For Mac output, the preset is called Mac Layout, The Conditional Tag expression is NOT_Not_in_Mac with an Exclude from output of Not_in_Mac.

Similarly for Linux, the preset is called LinuxLayout, the Conditional Tag expression is NOT_Not_in_Linux and the Exclude from output is Not_in_Linux.

Hopefully you will only see the appropriate screenshot for the layout you've chosen. My other problem is that when I generate in RH 2019 using LinuxLayout, I'm seeing both Mac and Linux screenshots, which is the next thing I have to address. In Classic, I only see Linux screenshots.

From what you say, I need to go through my original project in Classic 2019 and make sure every screenshot has an Alt Text and Screen Tip. This did not happen when generating in Classic or 2015 so perhaps it might be something Adobe might want to look at. I will also comment that the Conditional Tags are very confusing in RH 2019, I don't seem to be able to distinguish what it is that's going where as each of my screenshots in each group of pics seems to have the same tags in the new RH.

Thanks,

Helen

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

What I need is steps like this;

In topic X you will see certain images. Give me their filename.

In Output X with expression X applied, you should only see (filenames).

In Output X with expression Y applied, you should only see (filenames).

and so on.

You were saying the tags weren't working. I need the steps to recreate

something that is going wrong.

Peter Grainge

www.grainge.org

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

In topic Enter XXX MyName, the first three images are signin.jpg, signinmac.jpg and signinlinux.jpg.

In output MyNameLayout with expression WindowsOnly applied, you should only see signin.jpg.

In output Mac Layout with expression NOT_Not_in_Mac applied, you should only see signinmac.jpg.

In output Linux Layout with expression NOT_Not_in_Linux applied, you should only see signinlinux.jpg.

The second set in the same topic are signin2.jpg, signin2mac.jpg and signinlinux2.jpg.

In output MyNameLayout with expression WindowsOnly applied, you should only see signin2.jpg.

In output Mac Layout with expression NOT_Not_in_Mac applied, you should only see signin2mac.jpg.

In output Linux Layout with expression NOT_Not_in_Linux applied, you should only see signinlinux2.jpg.

The file you have has the appropriate changes made so you can see Mac and Linux output. Mac output is correct, you only see signinmac.jpg and signin2mac.jpg. LinuxLayout has both signinmac.jpg and signinlinux.jpg as well as signin2mac.jpg and signinlinux2.jpg.

Hope this is clearer.

Helen

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 09, 2019 Apr 09, 2019

Copy link to clipboard

Copied

Looks clearer. Late here. Will try tomorrow.

Peter Grainge

www.grainge.org

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 10, 2019 Apr 10, 2019

Copy link to clipboard

Copied

Using that topic, the tags on the images are not correct for the expression used, it would have been wrong in Classic as well.

For the first image (Cindy Tootall), you have applied Not in Mac and Not in Linux. The expression in the My Room layout (not My Name as above) excludes anything tagged Not In My Room. Only Jerry Brown has that tag so I see Cindy and Jerry. It was the same in your Classic project.

Can you identify anything that was right in Classic but is wrong in 2019? Otherwise it looks like the issue is simply that things are wrongly tagged.

Personally I would tag anything I want in Windows with a Windows tag, anything for Linux I would tag Linux and anything for Mac I would tag Mac. Then my expressions would be Not Linux and Not Mac and give that expression a name of Windows Output and so on.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Please use the Blue reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation