Search on condition tag?
Search on condition tag?
I would like to search my project for occurrences of condition tags. Is it possible?
Re: Search on condition tag?
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.
In the code, conditions look something like MadCap:conditions="File.Condition", so just try searching for the File.Condition part.
Re: Search on condition tag?
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
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
Re: Search on condition tag?
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..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.
Thanks!
Re: Search on condition tag?
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.
Re: Search on condition tag?
That's true. It's quite a simple way to identify all the topics associated with a single condition type rather than all.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.
Thanks for the advice!