FXL Report Viewer Setup

Introduction

FXL Report Viewer displays the PDF reports for the active record in FieldFX Back Office when using Lightning Experience. Reports displayed in the FXL Report Viewer are live and are automatically refreshed when data on the underlying record is changed.

FXL Report Viewer provides immediate confirmation of record updates to Back Office users. You can also configure custom labels for the FXL Report Viewer Lightning Component.

If using Back Office and the FX Report Lightning component, you will only see the report templates meeting the criteria set by the report template administrator.

The report template administrator could create a report filter that uses Logical Operators, like AND or OR, and also could contain custom filters on the report template’s master SObject.

The resource file must be named en_US.js, not en_US with no extension.

To use the FieldFX Lightning package starting with version 1.225, you must use the FieldFX Managed Package version 1.529 or higher.

Prerequisites

To setup and use FXL Report Viewer, you need to:

Have these user licenses Have these permissions Complete these tasks
and review these topics
before continuing

Step-by-Step Guides

You can do the following to setup the report viewer:

Set Up FXL Report Viewer

  1. Access FieldFX Back Office.

  2. Switch to the Lightning Experience.

  3. Access the applicable record page.

  4. Drop the FXL Report Viewer on the record page.

  5. Click Save.

  6. If this is the first time the FXL Report Viewer has been set up on the page, activate the configuration of the page as the Org default

  7. Click Back.

    Screenshot of Lightning Record Page Back button
  8. Click Back.

  9. Verify FXL Report Viewer is displaying where you expected.

    Screenshot of a Report viewed on screen in Back Office

Set Active checkbox in AppSetting to ReportAsFiles

  1. From Setup, enter Custom Metadata in the Quick Find box.

  2. Select Custom Metadata Types.

  3. In the AppSetting row, click Manage Records.

  4. In the AppSetting section, click Edit in the ReportAsFiles row.

  5. In AppSetting (Managed), click Edit.

    Only certain attributes can be edited. Since it is managed, you can only edit the Protected Component, Active, and Value fields. All other fields locked.
  6. In AppSetting Edit,

    1. Click Edit.

    2. Select the Active checkbox.

      If the Active checkbox isn’t present, you will have to edit the layout and add it. You only have to do this once.

      1. In AppSetting (Managed), click Edit Layout.

      2. Find the Active button.

      3. Click and drag it down to the AppSetting Sample section to just above the Value field.

        Active with a checkmark appears.

      4. Click Save.

    3. For the Value, select True.

  7. Click Save.

Define Google Chrome PDFs Option

Google Chrome is a 3rd party application, and the instructions for how to enable this option may change at any time without warning.

Google Chrome allows PDFs to either be saved to the user’s device or opened in the browser. The Report Viewer requires that reports be opened in the browser.

  1. Open Google Chrome.

  2. In Google Chrome, select the three vertical dot menu button at the top right, then click Settings.

    Chrome Settings Button

    Or, in the search bar, go to chrome://settings.

  3. In Search settings type PDF.

  4. Select Site Settings.

  5. Scroll to the bottom of the screen and select Additional content settings.

  6. Select PDF documents.

  7. Select Open PDFs in Chrome.