* Set template ID, also checks if the template is dynamic or legacy
(templateId)
| 159 | * Set template ID, also checks if the template is dynamic or legacy |
| 160 | */ |
| 161 | setTemplateId(templateId) { |
| 162 | if (this._setProperty('templateId', templateId, 'string')) { |
| 163 | if (templateId.indexOf('d-') === 0) { |
| 164 | this.isDynamic = true; |
| 165 | } |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * Set batch ID |