How to explorer properties and methods of an object in Kademi EDM template

18 views Asked by At

I have a question related to Kademi platform. In normal page templating, I can use #docs for exploring properties and methods of an object but in EDM template, I can not. Do you know how to do that?

1

There are 1 answers

0
brad On BEST ANSWER

You can use #docs in theme/emailBase.html

Variables specific to automation are copied into the templating model for the base template, so can be referenced from $page.model.xxx, where xxx is the same variable name as in the automation template

For example, if you're writing an automation template for an event, and you're not sure what the event is and what properties it has, use this;

#docs($page.model.event)