/
† template_delete ( session, template )

† template_delete ( session, template )

Deprecated in API Version 2.7.24

template_delete ( session, template )

Is a function to delete an existing template. When a template is deleted, the existing forms using this template are preserved, but they are “detached” from the original template

Input

parameters:

session: a token obtained by calling session_init ()

template: A template reference

Output

parameters:

ErrorMsg: any fault in the call, either in the validation of input parameters, errors in the connection to the database or any other error, this parameter returns the error message produced

Request

sample:

template_delete ( “LCAAAAAAAAAAAA”, “{controller://{label/{source/}}template_id” )

Response

sample:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<ErrorMsg></ErrorMsg>

Notes:


Related content