I'm using Mandrill to send template-based email notifications each time a given Object is created in a Parse.com app.
The Mandrill template (made with Handlebars) uses 2 typical Parse.com object properties:
- objectId --> {{object.objectId}} in the template
- createdAt --> {{object.createdAt}} in the template
The problem is that other object properties, but these don't.
Any clues?
The basic problem keeps unsolved. However I had several other problems using the Mandrill api, so I will leave it here for helping others:
Symptom: None of the other object properties got rendered
Problem1: used
template_contentsthat only support strings, not objects as contentSolution1: use
global_merge_varsProblem2: used
global_merge_varsoutside themessageparameterSolution2: use
global_merge_varsinside themessageparameterSymptom: every object property gets rendered except
objectIdandcreatedAtProblem: still don't know
Partial Solution: copy
objectIdtoidin parse