Configuration

Some variables to set in config.php or config_override.php

GoogleMaps API Key

GoogleMaps requires a web browser key.
Follow instructions described on https://developers.google.com/maps/documentation/javascript/get-api-key
Set the Key to variable $sugar_config['KReports']['googlemapskey'] in config.php.

Example: $sugar_config['KReports']['googlemapskey'] = 'FIzxSyCG1QGzZ1Sp4EbhWyR7btxElpAcECLBm9M';

Access Level Check

Depending on how you manage access rights in your CRM, select the proper way to check permissions on reports.
Set variable $sugar_config['KReports']['authCheck'] variable in config.php
Example: $sugar_config['KReports']['authCheck'] = 'default';

Possible values: default | KOrgObjects | KAuthObjects | PRO | SecurityGroups

  • default refers to CRM default access management rights,
  • KOrgObjects and KAuthObjects refer to modules by AAC Services,
  • PRO refers to SugarCRM Professional,
  • SecurityGroups refers to an addOn by SugarOutfitters

excelmemorylimit

The max memory execution in bytes that you allow to be allocated during an export to excel.
Default uses value set in your php.ini
Set variable $sugar_config['KReports']['excelmemorylimit'] variable in config.php
Example: $sugar_config['KReports']['excelmemorylimit'] = -1; //no limit

excelmaxruntime

The max execution time in seconds that you allow to be allocated for an export to excel.
Default uses value set in your php.ini
Set variable $sugar_config['KReports']['excelmaxruntime'] variable in config.php
Example: $sugar_config['KReports']['excelmaxruntime'] = 600; //10 minutes

csvmemorylimit & csvmaxruntime

same meaning as for excel, used for CSV export
Set variable $sugar_config['KReports']['csvmaxruntime'] variable in config.php
Set variable $sugar_config['KReports']['csvmemorylimit'] variable in config.php

olderMySqlVersion

This config variable was introduced in KReporter 4.3.

If you use a MySQL Database older than 5.7, please set
$sugar_config['KReports']['olderMySqlVersion'] = true
in config.php

results matching ""

    No results matching ""