Removing Undefined "Ghost" Conditions?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Telecaster52
Propeller Head
Posts: 32
Joined: Tue Dec 01, 2020 2:22 pm

Removing Undefined "Ghost" Conditions?

Post by Telecaster52 »

Hello

I'm relatively new to Flare. I removed a few unnecessary TOCs from the Project Organizer. Those TOCs shared topics with other TOCs that we still use. Since their removal, I have a list of undefined conditions (related to the TOCs I purged) that I need removed from the other active TOCs that I see in other Targets. Is there a way to "nuke" them from the active Target's TOC? I don't mean just selecting "Include/Exclude." I mean...completely and utterly removing them from all other TOCs? I've already tried to find from a topic standpoint (topic by topic by topic) and I'm not finding them all.

Does this make sense?
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Removing Undefined "Ghost" Conditions?

Post by ChoccieMuffin »

You can do a search, searching in code, for the condition name. That'll find the condition whether it's applied to bits of content or to entire files. I don't suggest you do a Replace All, look at each instance to see whether the condition is included inside < > or whether there's a closing </condition> kind of thing. But that'll find them.

This might not be the easiest way, there may be other suggestions coming from others that are a bit cleaner, but at least my suggestion should work.
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Removing Undefined "Ghost" Conditions?

Post by NorthEast »

1. Go to Analysis > Undefined Items > Undefined condition tags to show a list of the files.
2. Select all the files to remove the conditions from, then click the X (Delete) icon.
Telecaster52
Propeller Head
Posts: 32
Joined: Tue Dec 01, 2020 2:22 pm

Re: Removing Undefined "Ghost" Conditions?

Post by Telecaster52 »

Thank you both! These are great. Much appreciated!
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Removing Undefined "Ghost" Conditions?

Post by ChoccieMuffin »

Thanks Dave Lee, I didn't know that! (Fortunately I don't need to do it often, but good to know there's a better way to do it.)
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply