Added templateType into metadata file