Open this page in the API Guide

Layer.templateId Property

Gets templateId that is being used by this layer.