Distributed Index Handler 26.1
Distributed Index Handler Help

# 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.
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 2025 Open Text
Version 26.1 | Last updated January 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Distributed Index Handler 26.1

Topic Title: TemplateUpload