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 uploads the template MyTemplate to the ACI server.

Required Parameters

The following action parameters are required.

Parameter Description
TemplateData The multiple part template file to upload.
TemplateName The name of the template to display.

Optional Parameters

This action accepts the following standard ACI action parameters.

Parameter Description
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 Writes 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.