ViewImportViewTemplate
Creates a View template. This action allows users to create a template without having access to the View component templates folder.
The action returns the status and the name of the new template file.
Example
http://12.3.4.56:9080/action=ViewImportViewTemplate&TemplateName=HifiPDF&TemplateContent=[KVHTMLConfig]KVCFG_SETHIFIPDF=TRUE
This action creates the HifiPDF template in the View component.
Required Parameters
The following action parameters are required.
| Parameter | Description |
|---|---|
| TemplateContent | The content of the new view template file. |
| TemplateName | The name of the new view template file. |
Optional Parameters
This action accepts the following optional parameters.
| Parameter | Description |
|---|---|
| Overwrite | Whether to overwrite an existing template. |
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. |