Search on condition tag?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
KLAstry
Propeller Head
Posts: 19
Joined: Tue Sep 18, 2012 6:57 am

Search on condition tag?

Post by KLAstry »

I would like to search my project for occurrences of condition tags. Is it possible?
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Search on condition tag?

Post by NorthEast »

You can find conditions in topics, but you need to search in the source code.

In the code, conditions look something like MadCap:conditions="File.Condition", so just try searching for the File.Condition part.
Psider
Propellus Maximus
Posts: 902
Joined: Wed Jul 06, 2011 1:32 am

Re: Search on condition tag?

Post by Psider »

Or, if you just want to find all topics that have a condition in them, you can right-click on a condition tag set in Project Organizer and select View Links. You'd have to go into each topic to see which tag is assigned and where, but maybe this is all you need. You'd have to repeat this if you have multiple condition tag sets, depending on what specifically you are trying to find.

Or you can create a Report that lists all condition tags, the topics they are used in, and the HTML tags they are applied to.

HTH,
Amber
CATERAF
Sr. Propeller Head
Posts: 103
Joined: Mon Mar 18, 2013 10:19 pm
Location: Perth, Australia

Re: Search on condition tag?

Post by CATERAF »

Psider wrote: Or you can create a Report that lists all condition tags, the topics they are used in, and the HTML tags they are applied to.
Genius! I deliberately added a "not finished" tag to any section i still needed to fix but then had no way to identify what all the pages were.. using the report function i found it all! Can't believe I didn't know the reports even existed..

Thanks!
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Search on condition tag?

Post by NorthEast »

I'd still say it's easier if you use the 'find in files' option; searching for the condition name will show you a list of all the files, and you can also open them directly to see the condition.
CATERAF
Sr. Propeller Head
Posts: 103
Joined: Mon Mar 18, 2013 10:19 pm
Location: Perth, Australia

Re: Search on condition tag?

Post by CATERAF »

Dave Lee wrote:I'd still say it's easier if you use the 'find in files' option; searching for the condition name will show you a list of all the files, and you can also open them directly to see the condition.
That's true. It's quite a simple way to identify all the topics associated with a single condition type rather than all.
Thanks for the advice!
Post Reply