Separate variable values for duplicate modules | Community
Skip to main content
August 27, 2017
Solved

Separate variable values for duplicate modules

  • August 27, 2017
  • 1 reply
  • 1837 views

I've noticed that if I use a module more than once in an email, that both instances have the same variable values.

For example, I have a spacer module with the following number variable ${spacerHeight}. I've added multiple instances of this module to an email. If I change the ${spacerHeight} value on one instance, it will change it for all.

Is there a way to allow different variable values for duplicates instances of the same module?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Akshay_Pant

Hi @Shannon Dunn,

You have to define mktoModuleScope="true" attribute in each variable declaration(Meta tags). Then you can change the value of every cloned module separately.

Regards,

Akshay Pant

1 reply

Akshay_Pant
Akshay_PantAccepted solution
New Participant
September 1, 2017

Hi @Shannon Dunn,

You have to define mktoModuleScope="true" attribute in each variable declaration(Meta tags). Then you can change the value of every cloned module separately.

Regards,

Akshay Pant