CreateEmailTemplate
Creates a new email template.
Execute
Sample EXECUTE CreateEmailTemplate Name='TestTemplateNewDriver_', FileData='PGh0bWw+Cjxib2R5Pgo8aDE+VEVTVCBIVE1MPC9oMT4KPC9ib2R5Pgo8L2h0bWw+', Description='Test Create Email Template', FolderId=27, FolderType='Folder'
EXECUTE CreateEmailTemplate Name='TestTemplateNewDriver_', LocalPath='C:/users/cdata/file.txt', Description='Test Create Email Template', FolderId=27, FolderType='Folder'
EXECUTE CreateEmailTemplate Name='TestTemplateNewDriver_', LocalPath='/tmp/file.txt', Description='Test Create Email Template', FolderId=27, FolderType='Folder'
Input
Name | Type | Required | Description |
Name | String | True | Name of the Email Template. Must be unique under the parent folder. |
Description | String | False | Description of the email template. |
FolderId | String | True | Id of the folder where the template will be created. |
FolderType | Integer | True | Type of the folder where the template will be created. |
LocalPath | String | False | The absolute path to a file where data is read from. |
FileData | String | False | Base64 string representation of the file content. Only used if LocalPath and InputStream are not set. |
Result Set Columns
Name | Type | Description |
Id | Integer | Id of the created email template. |
URL | String | Url of the created email template. |
Success | Boolean | Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details. |
Details | String | Details of execution failure. NULL if success=true. |