Can you use MadCap Variables in the ConditionTagExpression?
Posted: Fri May 31, 2024 5:23 am
Hi!
I am working on projects that have multiple "pseudo parameters" that impact selection of the target file and consequently affect the conditions included or excluded....
I see that the Target file can handle the use of MadCap Variables, for example, in the CatapultTarget tags, I have the line:
It would be helpful to be able to use MadCap Variables in the ConditionTagExpression attribute, for example:
However, whenever I try to build the target with a variable in the ConditionTagExpression attribute, I get the following error:
Has anyone managed to succeed with a build when the ConditionTagExpression attribute contains reference(s) to MadCap Variables?
Is this even possible?
If not possible, why would you code MadCap to support variables in parts of the Target file, but not others...
Thanks!!!
I am working on projects that have multiple "pseudo parameters" that impact selection of the target file and consequently affect the conditions included or excluded....
I see that the Target file can handle the use of MadCap Variables, for example, in the CatapultTarget tags, I have the line:
Code: Select all
OutputFile="[%=Doc-Vars.DocOutputName%]_[%=Doc-Vars.DocVersion%]"Code: Select all
ConditionTagExpression="[%=IP-Conditions.Expression%]"Code: Select all
[i]Error validating conditional expression: Unrecognized tag: [%=IP-Conditions.Expression%][/i]Has anyone managed to succeed with a build when the ConditionTagExpression attribute contains reference(s) to MadCap Variables?
Is this even possible?
If not possible, why would you code MadCap to support variables in parts of the Target file, but not others...
Thanks!!!