getTemplateList functionality added