LibraryEntity.AddTemplate Method

This method adds a new item to a library folder. The LibraryEntity object on which this method is called must represent a folder to which the new item will be added.

Syntax

void AddTemplate ( string tplTitle, string filePath, string Description, int atIndex )

Parameters Description
title The title of the new library item (e.g., template, Web address, URL, or clause library).
filePath The file path for the new library item. (For a Web address, this is the URL.)
Description The description of the new library item.
atIndex [optional] The position in the folder where the new library item will be inserted. If this parameter is omitted, or if its value is -1, the new item is added at the bottom of the folder.