Open topic with navigation

# TemplateUpload

Uploads a template to the ACI server that you can use for action response layout and content. You must use multipart encoding to upload the template with the `TemplateUpload` action. The recommended way to submit requests that use multipart encoding is using the ACI API.

Note: An alternative to using the `TemplateUpload` action to make a template available to your ACI server is to save the template with the extension `.tmpl` to an `acitemplates` subdirectory in your ACI server's main installation directory.

## Example

    http://12.3.4.56:16000/action=TemplateUpload&TemplateName=MyTemplate&TemplateData=<data>

This action uses port `16000` to upload the template `MyTemplate` to the ACI server, which is located on a machine with the IP address `12.3.4.56`.

## Parameters

Parameter | Description | Required
--- | --- | ---
ActionID | A string to use to identify an ACI action. |
EncryptResponse | Encrypt the output. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Write output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |
TemplateData | The multiple part template file to upload. | Yes
TemplateName | The name of the template to display. | Yes

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm