These docs are for v3.5. Click to read the latest docs for v5.0.

Data Models

The templates receive a model object with the data and with some extra useful information.

How to tell how the model looks like in RAZOR template?

use @ObjectInfo.Print(Model); to create a dump of the Model

How to tell how the model looks like in HANDLEBARS (client side) template?

Investigate the result of the API call.

How to tell how the model looks like in HANDLEBARS (server side) template?

  1. Open "Edit Global Settings" of the module.
  2. Switch "Logging (Browser console)" on.
  3. Use your Browser Console (F12) to inspect the JSON object (look for "Render template")