Create template by snippet
Hi, i need to create a template by snippet.
I figured out this method but i can't see on the template list my new template and if i try to recreate it i receive the message "can't create template 'MyCustomNameTemplate' template already exist", i had this problem when i tryed to create a thing but i didn't restart it and enable it. Is there any similar method for templates ?
var paramsRemoteThing = {
name: "MyCustomNameTemplate",
description: "my personal description",
thingTemplateName: 'RemoteThing',
tags: 'MyApp:Template'
};
Resources["EntityServices"].CreateThingTemplate(paramsRemoteThing);
//here i need some code for enable template and see it in the template's list.
thank you !!!

