1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
477 views
by brandon-w-8204 (34.1k 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'));

by brandon-w-8204 (34.1k points)
edited by brandon-w-8204
...