Exclude * except... ?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
BedfordWriter
Sr. Propeller Head
Posts: 231
Joined: Wed Jun 23, 2010 10:13 am
Location: Nova Scotia

Exclude * except... ?

Post by BedfordWriter »

Is it possible to write a conditional that says "include NOTHING except for these marked items." ?
Maybe I just need more practice writing advanced conditional statements but... From what I've found, anything not marked with a conditional will be included by default. I have a project where I'd like to reverse that so that anything not marked with a conditional is excluded. Is it possible?

[Update] I didn't search the docs well enough. As they state: "The condition feature is an inclusive system."
Looks like my only option is to set a condition on everything else in the topic so that I can it, either explicitly or by default. Darn.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Exclude * except... ?

Post by NorthEast »

Conditional statements can only be used to include/exclude content that has been marked with a condition.

Content that's not marked with a condition tag isn't being 'included' as such (nor can it be excluded) - as it's not marked with a condition, it's left alone and is untouched by the build process.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Exclude * except... ?

Post by ChoccieMuffin »

I'm assuming you're talking about just items in the Content Explorer and not things in the Project Organizer?

Here's something you could try.

Add a condition, "Bedford", to your project, and apply it to all your topics. (That should also take care of images, as they'll be dealt with when you exclude the topics that you don't want.)

Assuming you also have "Condition1" and "Condition2", then to get your output to ONLY display material from Condition1 and Condition2 and exclude anything that doesn't have either of those conditions set, set the conditions on your target as follows:

Condition1 - INCLUDE
Condition2 - INCLUDE
Bedford - EXCLCUDE


Take heed of the warning that appears on this help page: https://help.madcapsoftware.com/flare20 ... ssions.htm

"WARNING The condition feature is an inclusive system. If you do not select any options at all, all of the tags will automatically be included, as indicated by the gray text in the Action cell. If you include only some tags and exclude others, any remaining tags without options specifically set will automatically be included. However, if you select Include for any of the tags (even just one) and do not select Exclude for any tags, all of the other tags that do not have the Include option set explicitly will automatically be excluded. If you have not explicitly set an option for a condition tag, make sure you look at the gray text in the Action cell to know what will happen for that tag in the output."
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