setTemplateValues
Combines the specified object and the existing template values. This allows you to add many values at once, as opposed to adding them one at a time to the templateValues property. If a value is already set, it will become an array and the new value will be appended.
Parameters
template
The template values
useAsDefault
If true the values will be used as the default values, so they will only be set if they are undefined. Default value - false