Retrieves detailed information about a specific template.
https://help.tago.io/portal/en/kb/articles/518-distributing-dashboards Distributing Dashboards
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const template = await resources.template.getTemplate("template-id-123");
console.log(template); // { type: 'dashboard', name: 'My Dashboard Template', ... }
Optional
installParams: TemplateInstallParamsInstalls a template into the account, creating either a dashboard or analysis from the template configuration.
https://help.tago.io/portal/en/kb/articles/518-distributing-dashboards Distributing Dashboards
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const result = await resources.template.installTemplate("template-id-123");
console.log(result); // { dashboard: 'dashboard-id-123' }
Description
Creates a new template from a dashboard or analysis configuration.
See
https://help.tago.io/portal/en/kb/articles/518-distributing-dashboards Distributing Dashboards
Example