Distributed Index Handler 12.13

# 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.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Distributed Index Handler 12.13

Topic Title: TemplateUpload