Adding shortcuts to run reports from the Source Tree window
You can quickly run reports on files in a specific repository from the Source Tree window without opening the Reports dialog box. To run a report, right-click the repository and select a report from the shortcut menu.
Before you can run a report from the Source Tree window, you need to create a plug-in for the menu item and then add the item to the repository shortcut menu.
For example, you may use a Files Awaiting Review Assignment list report to view files in the Awaiting Review state that are not currently assigned. You can create a plug-in for this report and then add the menu item to the repository shortcut menu. When you want to run the report, right-click the repository and choose Files Awaiting Review Assignment.
1. Choose Tools > Reports.
The Reports dialog box opens.
2. Select the report to create a shortcut menu item for. You can only create them for reports configured to run against the <current selected> branch and <current selected> repository. This information is displayed in the Reports dialog box.
If you need to create a report, click Add. See Creating reports.
3. Click Create Plug-in.
The plug-in is created and a summary is displayed. Plug-in files are named RunReport_RecordID.xml (e.g., RunReport_5.xml) and saved in the plugins directory in the Surround SCM application directory.
4. Click OK to close the plug-in summary.
5. Click Close to close the Reports dialog box.
6. Add the new report menu item to the repository shortcut menu. See Customizing shortcut menus.
After adding the report item to the shortcut menu, right-click a repository in the Source Tree window and choose it to run the report.
If plug-in errors occur, review information in the SCMPluginErrorLog file in the plugins directory to troubleshoot. You can also check existing plug-ins and status in the plug-in user options. See Setting plug-in options.