Managing template files

Use the local management interface to manage files and directories in the template files.

About this task

You can run the following tasks on the template files:
  • New- Use this option if you want to create a new file or directory.
  • Edit- Use this option if you want to view or modify the template file.
  • Import- Use this option if you to import a file to the template files root.
  • Export- Use this option if you want to export a file from the template files root.
  • Rename- Use this option if you want to rename a file or directory from the template files root.
  • Delete- Use this option if you want to delete a file or directory from the template files root.
  • Import Zip- Use this option if you want to import the template files from a compressed file.
  • Export Zip- Use this option if you want to export the template files as a compressed file.
    Note: When you use this option to export template files as a compressed file, you cannot export an individual folder. The root directory, including all the subdirectories, is exported. To access the contents of a specific directory, export the entire template directory, and then view the directory from the extracted compressed file on your local workstation.

Procedure

  1. Select Secure Access Control > Global Settings > Template Files
  2. Work with all the management files and directories.
    Create a file or directory in the template files root
    1. Select the directory of interest.
    2. Select New.
    3. Select File or Directory.
    4. Enter the name of the file or directory.
    5. Click Save.
    View or update the contents of a file in the template files root
    1. Select the file of interest.
    2. Select Edit. You can then view the contents of the file.
    3. Edit the contents of the file.
    4. Click Save.
    Export a file from the template files root
    1. Select the file of interest.
    2. Select Manage > Export.
    3. Confirm the save operation when your browser displays a confirmation window.
    Rename file from the template files root
    1. Select the file or directory of interest.
    2. Select Manage > Rename.
    3. Enter the new resource name.
    4. Click Save.
    Delete file from the template files root
    1. Select the file or directory of interest.
    2. Select Manage > Delete.
    3. Click Yes.
    Import a file to the template files root
    • Select a file.
      1. Select Manage > Import.
      2. Click Browse.
      3. Browse to the file that you want to import the contents from.
      4. Click Open.
      5. Click Import.
    • Select a folder.
      1. Select Manage > Import.
      2. Click Browse.
      3. Browse to the file that you want to import to the selected folder.
      4. Click Open.
      5. Click Import.
    Export the template file as a compressed file
    1. Select Manage > Export Zip.
    2. Confirm the save operation when your browser displays a confirmation window.
    Import the template files as a compressed file
    Make sure that the files in the compressed file are in the same directory structure as the files in the root directory or appliance.
    For example, if a file in the compressed file is in the /C directory of the appliance, the compressed file must contain the C folder and the file that you want to import. When you import a compressed file that contains:
    • A file that exists in the appliance

      The file is replaced in the appliance.

    • A file or directory that does not exist in the appliance
      The file or directory is created in the appliance. You can put these new files and directories in an existing non-root directory or add a new directory in the root.
      Note: You cannot delete a top level directory after you create it.
    1. Select Manage > Import Zip.
    2. Click Browse.
    3. Browse to the file you want to import.
    4. Click Open.
    5. Click Import.
  3. When you edit or import template files, the appliance displays a message that there are undeployed changes. If you finish the changes, deploy them.

    For more information, see Deploying pending changes.