luisapmesquita
I'm new here

set value of cms_input_text with a global varaible

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>

0 Kudos
3 Replies
mbergmann
Crownpeak employee

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 Kudos
luisapmesquita
I'm new here

Hello Michael,

is a variable set in the project settings as input text, is it possible?

thank you

0 Kudos

Hello Michael,

is a variable set in the project settings as input text, is it possible?

thank you

0 Kudos