From OpenDCIM Wiki
Revision as of 08:48, 11 March 2019 by Scott (Talk | contribs) (Created page with "== Localized Report == Many times a site will wish to create their own customized reports as part of their openDCIM installation. There is a mechanism (starting in version...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Localized Report

Many times a site will wish to create their own customized reports as part of their openDCIM installation. There is a mechanism (starting in version 19.01) to allow you to place your reports into a specific folder, along with a JSON file that enumerates them.

The file to include your reports needs to be in JSON format, and should be called localreports.json. The below example adds in two reports and gives friendly display names. They will be added to the main Reports Screen.

[
   {
        "DisplayName": "My Local Report",
        "FileName": "testreport.php"
   },
   {
        "DisplayName": "Another Local Report",
        "FileName": "testreport2.php"
   }
]