template

LookML
Version

On this Page
Docs Menu

Go to Model Parameter List

template has been removed as of release 3.30.

As of release 3.30, the template parameter will be ignored. ERB templating is no longer available and Liquid templating is used for all instances.

Usage

- template: liquid
a ruby template engine
liquid
erb

Definition

template specifies whether you can use Liquid or ERB templating within a model’s html parameters. As of Looker 2.2 ERB is deprecated and only maintained to support legacy customers. Liquid is now the preferred and default templating engine. It has important functionality and security benefits over ERB.

More information about Liquid templating options is available in the documentation for the html parameter.

Examples

Use Liquid templating for a model

- template: liquid

Still have questions?
Go to Discourse - or - Email Support
Top