Sidebar

Can I setup templates in qie?

0 votes
371 views
asked Jun 20, 2017 by brandon-w-8204 (33,270 points)
I want to setup a template in qie where I can specify a template with variables to be used. Can QIE do this and how do I accomplish this.

1 Answer

0 votes

You can setup a system variable with nodeTags. 

example template (simple):

Dear, {mc:firstName}.... etc

You would then call an evaluate template after setting the message cache example code:

messageCache.setValue('firstName', 'John');
var letter = qie.evaluateTemplate(qie.getVariable('someVariable'));

answered Jun 20, 2017 by brandon-w-8204 (33,270 points)
edited May 29, 2018 by brandon-w-8204
...