Conditions not working correctly in imported snippet

This forum is for Single-Sourcing your Flare content to multiple outputs.
Post Reply
jgoldstein
Propeller Head
Posts: 59
Joined: Wed Jul 01, 2009 7:52 am

Conditions not working correctly in imported snippet

Post by jgoldstein »

I have a snippet that I'm using in two different projects --- one is PDF output, the other is WebHelp output. The conditions work as expected in the WebHelp output; only the content tagged for online output is displayed.

In the PDF project, I imported the snippet and its conditions. I set the conditions to exclude the online output. In the PDF output, content tagged for print AND online output are displayed.

Has anyone run into this issue before?

thanks,

joan
Joan Goldstein
Principal Technical Writer
Unidesk Corporation
http://www.unidesk.com
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Conditions not working correctly in imported snippet

Post by LTinker68 »

What do you mean you imported the snippet?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
jgoldstein
Propeller Head
Posts: 59
Joined: Wed Jul 01, 2009 7:52 am

Re: Conditions not working correctly in imported snippet

Post by jgoldstein »

I created the snippet in one project and then imported it into the other project using the Project > Import File option. So, when I look at my Imports folder in the Project Organizer, there's an object called "Snippets".

cheers,

joan
Joan Goldstein
Principal Technical Writer
Unidesk Corporation
http://www.unidesk.com
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Conditions not working correctly in imported snippet

Post by LTinker68 »

I'd open the snippet in the Internal Text Editor and see if it had any conditions were applied to some of the text in the old project. I'm not sure what Flare will do if you have a conditional tag specifying a name that wasn't created at the project level. For instance, if the conditional tag value is "testOnly" and there was no testOnly condition created in the project to which it was imported, then does Flare just treat that as an include, or is it automatically excluded?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply