Previous Next
Creating new projects using an existing template

To create a new SNiFF+ project using an existing template:

  1. In the Launch Pad, choose Project > New Project... > with Template....
    The Project Template dialog appears.
  2. The default template file directory is your <sniff_installation_dir>/config/ project directory. To select a different template file directory, press the Change Directory button and use the Directory dialog that appears.
  3. Choose a template from the list of available template files.
    The name of the selected template appears in the Template File field. Its description appears in the Description field.
  4. In the Project Directory field, enter the root directory of the new project. To navigate to the correct directory, press the Change Directory button and use the Directory dialog that appears.
  5. Press the Ok button.
    The Attributes of a New Project dialog appears. The attributes stored in the selected template are used for the various fields and boxes in the dialog. Note that some of the attributes in the dialog have no corresponding attributes in templates. In such cases, default values are taken from your Preferences.

        Note
        If the root directory of the new project is physically located in a SNiFF+ working environment, the new project will be a shared project by default. Then, to open this project, you must open it in this working environment, or in another working environment that accesses this working environment.
    You may, however, choose to make the new project an absolute project, meaning that you can open it independently of a working environment. To do so, in the General view, File Type drop-down, choose Absolute. Please note that the Relative option is for backward compatibility only.

  6. When you have set all the attributes in the Attributes of a New Project dialog to your satisfaction, press the Ok button.
    SNiFF+ will now create the new project and all its subprojects (if it has any). When SNiFF+ is finished, it opens the new project and displays its structure and contents in the Project Editor. The attributes of the project and its subprojects will correspond to those stored in the template.
Editing templates
You can edit template files in the same way that you edit a SNiFF+ project's attributes. For information on editing project attributes, please refer to Reference Guide -- Project Attributes. To edit a template file:
  • In the Launch Pad, choose Project > New Project... > with Template....

  • The Project Template Dialog appears.
In the Project Template Dialog
  1. Press the Change Directory... button to the right of the Directory field.
  2. In the Directory Name dialog that appears, navigate to the directory in which the template file is stored and press the Select button.
  3. Highlight the template file in the main view.
    The name and description of the template file is automatically entered in the Template File and Description fields.
  4. Enter any path in the Project Directory field and press Ok.
    The Attributes of New Project dialog appears.
In the Attributes of New Project dialog
  1. Modify the attributes according to your needs.
  2. In the General view, under Save Current Project Attribute Settings, select As Template .
  3. Press the Ok button to apply your changes.
    The Project Template Dialog appears.
In the Project Template Dialog
Saving the template file using the same name:
  • Follow the first 3 steps in the Project Template Dialog above and press Save.

  • The template file is now saved under the same name as the template file you modified.
Saving the template file using a different name:
  1. Press the Change Directory... button to the right of the Directory field.
  2. In the Directory Name dialog that appears, navigate to the directory in which you want to save the template file and press Select.
  3. In the Template File field, enter a name for the template file.
  4. In the Description field, enter a description of the template file.
  5. Press Save.
    The template file is now saved under a different name.