Template.makePrivate (Method)

Makes a template private so that you and others cannot see it in the Template Gallery.

Returns:

Void

Arguments:

Name Type Required Description
templateID TemplateID Required The template's ID.

Context:

License Requirements None
Permission Requirements page:Admin
Deny Context None
Require Context AuthoringEnabled
Author Lock If available
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
59009 The specified template is already private.

Notes:

None