Variables: can't find how Target and Project ones interact
Posted: Tue Jan 22, 2019 8:44 am
I'm getting back to Flare after a gap, using Flare 2018 v2 on Windows 10 PC.
I have a simple project with Variables > General, and then each of the targets I'm using (PDF and HTML5) has a Variables tab.
I'm trying to find info in help and knowledge base about how the project and target interact, especially the "Restore Defaults" button on the Target > Variables tab.
I changed some values in the targets, then realised it would be easier to change them in the project variables (they can all be the same, for now).
I remembered that target variables override project ones, so I tried Restore Defaults, thinking that would make the target pick up defaults from the project. Instead, it changes the values to an earlier value I used in the target.
So how do I make the target variables match the project variables, short of doing it manually?
And how and why does Restore Defaults work?
EDIT: The issue seems to be just one variable, and just its Definition field. If I change the Definition or Comment of any other project variable, as soon as I Save, the change is copied to the two corresponding target variables. But for VersionNumber, in one of the two targets, the Comment is updated, but not the Definition. (VersionNumber is one of the standard ones that was already in the project template I used.)
I have a simple project with Variables > General, and then each of the targets I'm using (PDF and HTML5) has a Variables tab.
I'm trying to find info in help and knowledge base about how the project and target interact, especially the "Restore Defaults" button on the Target > Variables tab.
I changed some values in the targets, then realised it would be easier to change them in the project variables (they can all be the same, for now).
I remembered that target variables override project ones, so I tried Restore Defaults, thinking that would make the target pick up defaults from the project. Instead, it changes the values to an earlier value I used in the target.
So how do I make the target variables match the project variables, short of doing it manually?
And how and why does Restore Defaults work?
EDIT: The issue seems to be just one variable, and just its Definition field. If I change the Definition or Comment of any other project variable, as soon as I Save, the change is copied to the two corresponding target variables. But for VersionNumber, in one of the two targets, the Comment is updated, but not the Definition. (VersionNumber is one of the standard ones that was already in the project template I used.)