Troubleshooting Server Call Issues in Accolade Office Extensions

To successfully return data in reports created using Accolade Office Extensions, the add-in contacts the server to retrieve data and provide it to the client. To more easily identify and troubleshoot issues that arise in reports specifically around these service calls, you can access a diagnostics page in the application that provides visibility into the service calls the add-in surfaces to the client.

If enabled, a logs file is generated containing various service calls when a user interacts with the add-in. See Setting Custom Excel Report Template Properties for information on enabling the output logs and setting the directory. Use the logs file in conjunction with the Accolade Office Extensions diagnostics page to execute service calls the add-in makes to the client. Input objects from the logs file to the diagnostics page to return specified data.

To view and troubleshoot service calls:

  1. Retrieve the logs file generated when Accolade Office Extensions is used.
  2. From the System menu, click Diagnostics > Accolade Office Extensions.
  3. Execute a call listed below by inputting a value from the logs file where necessary and clicking Execute.
Service Calls Description Input Value

Return Report Data

Returns report columns and data available to the user interacting with the report.

JSON object containing report columns

Return SQL Statement

Returns the SQL statement from the logs directory.

SQL statement from the client side logs file

Return Configuration Values

Returns the system name and display name of process model configuration components such as deliverables, quick grids, and gates. This includes all configuration items in the parameters section in the main Accolade website.

 

Return Date Masks

Returns the date formats and system names users set as part of their user profile and date formats set on the individual report.

 

Return List Values

Returns the list values for the input columns.

JSON object for a reporting column

Return Metadata Codes

Returns metadata codes that correspond to the given integer.

1 - strings

3, 5 - number codes

2 - date codes

An integer value between 1 and 7

Return Metric Names

Returns metric names that correspond to the given integer.

1, 4, 5, 6 - string - based metrics (strings, lists, multi-select lists, long strings)

2 - number metric names

3 - date metric names

An integer value between 1 and 7

Return Images

Returns image information used to generate project thumbnails in reports.

JSON object for an image

Return Parameter Value

Returns parameter values for the input system parameter keys.

System parameter value

Return Reporting Subjects

Returns all reporting subjects including field codes.

 

Return Reporting Columns For Subject

Returns reporting columns for the given subject ID.

Subject ID returned from previous call

Return User Data

Returns the user ID and Accolade Office Extensions user role for the user interacting with the report.