inserting variables based on TOC names

This forum is for all Flare issues not related to any of the other categories.
Post Reply
ryan
Propeller Head
Posts: 59
Joined: Thu Dec 11, 2008 10:51 am

inserting variables based on TOC names

Post by ryan »

I am single-sourcing and delineating by version at the TOC level. I need to insert the name of the TOC as it appears in the Project Organizer as a variable within the document to display the version version number dynamically. Is this possible?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: inserting variables based on TOC names

Post by LTinker68 »

You can create a variable in the project's variable set and give that variable a value, which is the variable's default value. You can then insert that variable into the footer of the page layout. You then change the value of that variable before you build the output. If you have multiple outputs at different versions, then you use the same variable, but you override its default value by modifying its value in the target. So say you have two targets, TargetA and TargetB and a variable in the project's variable set called "prodVersion" with a value of "1.0". In TargetA, you don't modify the variable. In TargetB, you modify the variable's value to "1.1". When you generate TargetA, the footer will say "1.0". When you generate TargetB, the footer will say "1.1".

Is that what you were looking for?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
ryan
Propeller Head
Posts: 59
Joined: Thu Dec 11, 2008 10:51 am

Re: inserting variables based on TOC names

Post by ryan »

Lisa, thank you. This worked perfectly, well done again.
Post Reply