set value of cms_input_text with a global varaible
Author: luisapmesquita
Publication Date: 3/11/2020 14:04
Hello,
can someone help me create a rule to set the value of an input field with the value of a global variable?
I am expecting this to work, but it doesn't.
<RULES>
<RULE>
<WITH>
<PROPERTY name="EMPTY" source="cs_pr_project"/>
</WITH>
<DO>
<PROPERTY name="#gloabel.variable" source="cs_pr_project"/>
</DO>
</RULE>
</RULES>
-
Author: mbergmann - 3/11/2020 19:49
Hi Luisa,
when you are referring to a variable defined in the output channel of a template, this is not possible because those variables only exist during generation (on the server).
If not: Where is the variable defined / set originally?
Michael
0 -
Author: luisapmesquita - 3/12/2020 12:33
Hello Michael,
is a variable set in the project settings as input text, is it possible?
thank you
0 -
Author: luisapmesquita - 3/13/2020 11:08
Hello Michael,
is a variable set in the project settings as input text, is it possible?
thank you
0
Please sign in to leave a comment.
Comments
3 comments