template_tools command options
You can use any of the following options with the template_tools command. You must always supply the -password option.
-convert_dir directory- Converts all templates in the specified directory to the new format.
-convert_file filename- Converts the specified template to the new format.
-import_dir objectsfile fieldsfile directorys- Imports context objects and form fields from
the provided CSV-formatted files into all the
templates in the specified
directory. This option has the
following arguments:
- objectsfile – File containing the context objects for import, in CSV format.
- fieldsfile – File containing the fields for import, in CSV format.
- directory– Directory that contains the templates to update.
-import_files objectsfile fieldsfile outfile- Imports context objects and form fields from
the provided CSV-formatted files into the
specified template descriptor file
(outfile). This option has the
following arguments:
- objectsfile – File containing the context objects for import, in CSV format.
- fieldsfile – File containing the fields for import, in CSV format.
- outfile – Template descriptor file to update.
-list_templates- Lists all of the templates available for validation.
-password password- Password (password) to use to connect to the server. PolicyCenter requires the password.
-server url-
Specifies the PolicyCenter host server URL. Include the port number and web application name, for example:
- http://serverName:8180/pc
-user user- User (user) to use to run this process.
-validate_all- Validates all the templates in a similar manner to -validate_template.
-validate_template templateID-
Validates a single template. Validates that the given template descriptor (templateID) is in a valid format, and that all template descriptor context objects and form fields are valid given the current data model.
-working_dir directory- Specifies a directory for use as the root (working directory) for relative paths.
