The FIleCloud Email Template Tool is available in FileCloud version 20.3 and later.
The Email Template tool enables you to perform the following email template import and export actions:
-
Import a new template to replace an existing template in the DB
-
Batch import templates from a directory to the DB
-
Export a specific template from the DB
-
Batch export templates to a directory from the DB
The tool is EmailTemplateTool.php, and is located in C:\xampp\htdocs\resources\tools\email.
Note: The tool handles template files formatted with or without prefixes and suffixes, even in the same list in a command.
Available commands:
|
Action |
Command |
example |
|---|---|---|
|
Batch import templates from current directory to FileCloud. |
|
Batch import all templates from current directory to FileCloud database |
|
Batch export templates from FileCloud to current directory. |
|
Batch export all templates from FileCloud database to current directory |
|
Import a specific template from the current directory to FileCloud. |
|
Import the template welcome_body_tmp from the current directory to the FileCloud database. |
|
Export a specific template from FileCloud to the current directory. |
|
Export the template welcome_body_tmp1 from the FileCloud database to the current directory |
|
Import specific templates from the current directory to FileCloud. |
or
|
Import the templates welcome_body_tmpl and CUSTOMIZATION_TEMPLATE_shareemail_body_limited_tmpl.txt from the current directory to the FileCloud database. |
|
Export specific templates from FileCloud to the current directory. |
or
|
Export the templates welcome_body_tmpl and CUSTOMIZATION_TEMPLATE_shareemail_body_limited_tmpl.txt from the FileCloud database to the current directory. |
|
Export specific templates from FileCloud to a specific directory. |
|
Export the templates welcome_body_tmpl and CUSTOMIZATION_TEMPLATE_shareemail_body_limited_tmpl.txt from the FileCloud database to the directory C:/Users/joe/Desktop/nondeftemplates. |
|
Import specific templates from a specific directory to FileCloud. |
|
Import the templates welcome_body_tmpl and CUSTOMIZATION_TEMPLATE_shareemail_body_limited_tmpl.txt from the directory C:\Users\joe\Desktop\nondeftemplates to the FileCloud database. |
|
Import a batch of templates from a specific directory to FileCloud. |
|
Batch import the templates from the directory C:\Users\joe\Desktop\nondeftemplates to the FileCloud database. |
|
Export a batch of templates from FileCloud to a specific directory. |
|
Batch export the templates from the FileCloud database to the directory C:\Users\joe\Desktop\nondeftemplates. |