View Component 25.1
View Component Help

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

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

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 View Component 25.1

Topic Title: ViewImportViewTemplate