Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Variables management in fm11.0

New Here ,
Mar 19, 2015 Mar 19, 2015

Copy link to clipboard

Copied

All,

I have a need with framemaker I do not know how to handle. Here is an example of my need:

Let's say I need to produce a document related to a house, which can be 1 2 or 3 floors.

I will then produce a variables :"nb of floor" which will be "1" "2" or "3", and use this variable in text content. That is ok, BUT

How can I automate an additional variable named "House_type" which would be "OnefloorHouse" "TwofloorsHouse" or "ThreefloorsHouse"?

Thanks for your help.

Regards, Stephane.

Views

265
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 19, 2015 Mar 19, 2015

Copy link to clipboard

Copied

How are you applying the Variables in FM? Are you importing into specific files that just pertain to the house types and number of floors?

The easiest way to get specific sets of variables into FM files is to use small text files called MIF snippets. See the following discussions for how these have been used:

cautious update of variables – best approach?

Variable to Pull Book Name?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 20, 2015 Mar 20, 2015

Copy link to clipboard

Copied

My plan is just to create variables (e.g "nb of floor" or "House_type") in the document itself.

I would set the "nb of floor" value manually. The point would be to automate the setting of "House_type" value, as additonal variable.

Regards, Stephane

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 20, 2015 Mar 20, 2015

Copy link to clipboard

Copied

LATEST

There is no direct way to make one variable dependent upon another in FM.

You could use ExtendScript to create a script that would add the other dependent variables.

The other approach would be to have all of the required dependent variables defined in either a MIF snippet or a template file and then import the desired numbering level into your file.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines