Skip to main content
Skip table of contents

Save scheduled reports in a shared Windows folder

This KB article applies to Imagicle UCX on-prem Suite owners. If your Imagicle UCX Suite is deployed in the Cloud, please contact Imagicle Support to apply internal settings.

Overview

Starting from 2020.Summer.1 Imagicle UCX Suite release, it is possible to store scheduled reports results into a shared Windows folder, located within Imagicle server.

This feature applies to all schedulable reports included into the following Imagicle apps:

  • Call Analytics and its Budget Control

  • Digital Fax

  • Advanced Queuing

  • Auto Attendant

  • Call Recording

How to enable the feature

This feature is by default disabled. To enable it, please follow below procedure:

  • Access to Imagicle Server through a Remote Desktop session

  • Edit the following file: C:\Program Files (x86)\StonevoiceAS\Apps\ApplicationSuite\Settings\ApplicationSuite.ini

  • Add the following key under [Settings] statement:

  • ScheduledReportArchiveBasePath=<base_path>

  • <base_path> includes the root folder path where reports should be saved

  • Save file

Actual Storage Paths

Once this feature is enabled, scheduled reports will be actually saved in subfolders, based on Imagicle app and usernames.

For all scheduled reports involving a single recipient email address, the path is:

<base_path>\<APP_NAME>\<SCHEDULED_ID>\

where <APP_NAME> is the Imagicle app from which report has been scheduled; <SCHEDULED_ID> is the scheduled report identifier.

For all scheduled reports involving multiple recipient users, the path is:

<base_path>\<APP_NAME>\<SCHEDULED_ID>\<USER_NAME>\

where <USER_NAME> is the UCX Suite username of each recipient user.

Stored Files

Please find below the list of saved files:

  • lastResult.pdf (or xls) → Last exported report, executed as per <SCHEDULED_ID> date/time interval

  • descriptor.dat  → Metadata information associated to lastResult report, including the following data: 

    • Filters → Filter(s) applied to scheduled report

    • Id → <SCHEDULED_ID>

    • MailSubject → email subject configured in scheduled report

    • Recipient → email recipient(s)

    • ReportTitle → Report title

  • <yyyyMMddTHHmmss>.pdf  → Previous exported reports, kept for historical purposes. For example: 20201215T140025.pdf

Additional notes

  • If the report is empty, no files will be archived. 

  • If scheduled report email sending fails, due to non existing recipient or due to large attachment, the task is however executed and data is saved in relevant export folder.

Limitations

These are the current limitations of this feature:

  • There's no configurable retention of exported reports. If you keep this feature enabled for a long time, it might fill the destination hard disk. Please make sure to periodically delete old data, to avoid disk overflow.

  • Once this feature is enabled, ALL scheduled reports are subjected to data export.

  • This feature is subjected to report schedules, with email sending. If you just want to save report results, without any email notification, just add a dummy email address while scheduling the report.

  • If you wish to save exported reports into an external shared folder, then you can just schedule a job to copy or move data from internal path to external, using Windows Task Scheduler

Troubleshooting

  • If you are experiencing problems while using this feature, you can consult the following log files:

    • Call Analytics: C:\Program Files (x86)\StonevoiceAS\Var\Log\WinReport\ApplicationSuite.log

    • All other Imagicle apps: C:\Program Files (x86)\StonevoiceAS\Var\Log\ApplicationSuite.Core.Service\ApplicationSuite.log

Please search for the following strings:

DEBUG level ⇒  Archiving scheduled report

ERROR level ⇒  Error occurred during scheduled report archive

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.