Attachments

ActivReporter supports attaching files to most types of entity records. Attachments help you stay organized and support your green agenda by reducing the need for storing and sorting through paper documents.

If at least one entity record of a given entity type has an attachment, the Attachments tab is visible on all records of that entity type. If all attachments are deleted for all records of a given entity type, the Attachments tab will no longer be visible.

ClosedPrerequisites

To use the attachments feature, you must:

  • Use SQL Server 2012 or greater.
  • Set the compatibility level for the SQL database used with the ActivReporter company folder to 100.
    1. Run SQL Server Management Studio.
    2. Expand the Databases folder, right-click the company folder, and select Properties from the shortcut menu.
    3. In the Database Properties dialog box, select the Options page and locate the Compatibility level field.
    4. Set the compatibility level to 100.
  • Enable FILESTREAM using SQL Server Configuration Manager.
    1. From the Windows Start menu, select All Programs > Microsoft SQL Server [version year] > Configuration Tools > SQL Server Configuration Manager.

    2. In the left pane, select SQL Server Services.
    3. In the right pane, locate the instance of SQL Server for which you want to enable FILESTREAM (typically "MSSQLSERVER"), right-click on it, and select Properties from the shortcut menu. The SQL Server Properties dialog box opens.

    4. Select the FILESTREAM tab.

    5. Mark the Enable FILESTREAM for Transact-SQL access checkbox.
    6. If you want to be able to read and write FILESTREAM data from Windows, mark the Enable FILESTREAM for file I/O access checkbox. The Windows share name field defaults to the name of the SQL instance. Enter a new name if desired or accept the default.

      Note

      AccountingWare recommends not marking this option unless you have a specific need. If you do mark this checkbox, we recommend that you exclude folders with FILESTREAM data from anti-virus scanning in order to prevent potential conflicts.

    7. If you marked the Enable FILESTREAM for file I/O access checkbox, the Allow remote clients access to FILESTREAM data is enabled. If remote clients need to access the FILESTREAM data that is stored on this share, mark this checkbox.

    8. Click OK.
  • Enable attachments for the ActivReporter database.
    1. Run ActivityHD Manager.
    2. From the Databases menu, select Connect. The Connect to SQL Server dialog box opens.

    3. If your Windows username has sufficient privileges, select "Windows" in the Authentication section and then click Connect. Otherwise, select "SQL Server", specify a username and password with sufficient privileges, and then click Connect.
    4. On the Databases tab, select the database you want to enable attachments for, right-click its name, and select Enable Attachments from the shortcut menu.

      ActivReporter prompts you to confirm that you want to enable attachments.

    5. Click OK. SQL prompts you to specify the folder where you want to store attachments.
    6. Browse to the folder you want to use and then click OK.

      Tip

      AccountingWare recommends you create the attachments folder in the same directory as your ActivReporter company database.

    7. Close ActivityHD Manager.