Page 1 of 1

Removing undefined conditions

Posted: Mon Sep 23, 2019 1:24 pm
by Isleofgough
I had a conditional tag which I no longer needed and deleted. I have checked with the text editor and there are no more references to that tag in the topics. However, in the targets, there are still references to the deleted tag, under "undefined". I cannot delete them. They are not in the associated TOC. How do I edit the targets without deleting and rebuilding them?

Re: Removing undefined conditions

Posted: Mon Sep 23, 2019 6:34 pm
by jjw
You can edit the target in a text editor and remove the unwanted conditions from the ConditionTagExpression attribute value. That worked for me.

J

Re: Removing undefined conditions

Posted: Wed Sep 25, 2019 12:40 am
by NorthEast
You don't need to edit it in a text editor.
In the target editor, just go to Conditional Text - (undefined tags), and remove the ticks from Include or Exclude.

If you do this again, it's much easier to use Analysis > Undefined items > Undefined Condition tags. You can select all the references and Delete them in one step.

Re: Removing undefined conditions

Posted: Wed Sep 25, 2019 6:58 pm
by Isleofgough
Thank you. I went in to edit it with text editor and the old condition was not present. It appears to have disappeared with a reboot.