From OpenDCIM Wiki
Jump to: navigation, search
(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...")
 
(Localized Report)
 
Line 1: Line 1:
== Localized Report ==
+
== Localized Reports ==
  
 
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  
 
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  

Latest revision as of 08:48, 11 March 2019

Localized Reports

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"
   }
]