Template.makePublic (Method)

Makes a template available for public use, so that people with appropriate permissions can 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
59002 The specified template is already available for public use.
59008 You cannot make a template that is categorized under My Templates public. You must first change its category.

Notes:

None