Fortinet black logo

Administration Guide

Managing macros

Managing macros

You can manage macros by Reports > Report Definitions > Macro Library. Some options are available as buttons on the toolbar. Some options are available in the right-click menu. Right-click a macro to display the menu.

Option

Description

Create New

Creates a new macro.

Edit

Edits the selected macro. You can edit macros that you created. You cannot edit predefined macros.

View

Displays the settings for the selected macro. You cannot edit a predefined macro.

Delete

Deletes the selected macro. You can delete macros that you create. You cannot delete predefined macros.

Clone

Clones the selected macro.

Show Predefined

Displays the predefined macros.

Show Custom

Displays the custom macros.

Search

Lets you search for a macro name.

Viewing datasets associated with macros

To view datasets associated with macros:
  1. If using ADOMs, ensure that you are in the correct ADOM.
  2. Go to Reports > Report Definitions> Macro Library.
  3. Select a macro, and click View (for predefined macros) or Edit (for custom macros) in the toolbar.
  4. In the View Macro or Edit Macro pane, find the name of the dataset associated with the macro in the Dataset field.
  5. Go to Reports > Report Definitions> Datasets.
  6. In the Search box, type the name of the dataset.
  7. Double-click the dataset to view it.

Managing macros

You can manage macros by Reports > Report Definitions > Macro Library. Some options are available as buttons on the toolbar. Some options are available in the right-click menu. Right-click a macro to display the menu.

Option

Description

Create New

Creates a new macro.

Edit

Edits the selected macro. You can edit macros that you created. You cannot edit predefined macros.

View

Displays the settings for the selected macro. You cannot edit a predefined macro.

Delete

Deletes the selected macro. You can delete macros that you create. You cannot delete predefined macros.

Clone

Clones the selected macro.

Show Predefined

Displays the predefined macros.

Show Custom

Displays the custom macros.

Search

Lets you search for a macro name.

Viewing datasets associated with macros

To view datasets associated with macros:
  1. If using ADOMs, ensure that you are in the correct ADOM.
  2. Go to Reports > Report Definitions> Macro Library.
  3. Select a macro, and click View (for predefined macros) or Edit (for custom macros) in the toolbar.
  4. In the View Macro or Edit Macro pane, find the name of the dataset associated with the macro in the Dataset field.
  5. Go to Reports > Report Definitions> Datasets.
  6. In the Search box, type the name of the dataset.
  7. Double-click the dataset to view it.