« Back to Product

Documentation

IPS_DeleteTemplate

Require: IP-Symcon >= 8.0

 boolean IPS_DeleteTemplate (string $TemplateID) 

Parameters

TemplateID

The ID of the template to be deleted, formatted as GUID

Returns

If the command could be executed successfully, it returns TRUE, otherwise FALSE.

Description

The function deletes the template with the ID TemplateID.

Example

// Deletes the template with the id {8422E41F-00AA-33F7-E8A4-BB516EC0056B}
IPS_DeleteTemplate('{8422E41F-00AA-33F7-E8A4-BB516EC0056B}');
Any questions?