Mandrill Handlebar Template does not render / merge with Parse.com object correctly -
i'm using mandrill send template-based email notifications each time given object created in parse.com app.
the mandrill template (made handlebars) uses 2 typical parse.com object properties:
- objectid --> {{object.objectid}} in template
- createdat --> {{object.createdat}} in template
the problem other object properties, these don't.
any clues?
the basic problem keeps unsolved. had several other problems using mandrill api, leave here helping others:
symptom: none of other object properties got rendered
problem1: used template_contents
support strings, not objects content
solution1: use global_merge_vars
problem2: used global_merge_vars
outside message
parameter
solution2: use global_merge_vars
inside message
parameter
symptom: every object property gets rendered except objectid
, createdat
problem: still don't know
partial solution: copy objectid
id
in parse
Comments
Post a Comment