Skip to main content

What’s New

Qrvey 8.7
Version 8.7 of the Qrvey platform is now available to customers! This version includes new features including area charts, the ability to pivot and export data, as well as numerous bug fixes and performance improvements.
Learn More
Qrvey 8.6
Version 8.6 of the Qrvey platform is now available to customers. This version includes several new feature enhancements and performance improvements.
Learn More
Required Update for 8.5.1
Attention 8.5.1 customers: for any 8.5.1 instance deployed prior to 08/05/2024, an update is required to ensure you are running the latest images.
Learn More
Qrvey 8.5
Version 8.5 (LTS) of the Qrvey platform is now available to customers. This version includes several new features and performance improvements.
Learn More
End-of-life Schedule
We've added a new article that lists the features and endpoints that have been scheduled for deprecation. All features and endpoints will be supported for (1) year after the release date of the LTS version that contains the alternative.
Learn More
Version: 8.7

Dashboard View

The Dashboard View widget enables you to embed one or more dashboards or a mashup of several charts, maps, and metrics into your application.

Embeddable Script

<!-- Tag -->
<qrvey-end-user settings="config"></qrvey-end-user>`

<!-- Config -->
<script>
var config = {
apiKey: "<API_KEY>",
domain: "<DOMAIN>",
userId: "<USER_ID>",
appId: "<APP_ID>"
};
</script>

<!-- Launcher -->
<script type="text/javascript" src="https://<WIDGETS_URL>/widgets-launcher/app.js"></script>

Configuration Object

PropertyValueRequired
apiKeyString, Your organization’s unique API key required to access the Qrvey platform.Required, if qvToken is not provided.
qvTokenString, Encrypted token used for secure authentication.Required, if apiKey is not provided.
appIdString, ID of the Qrvey application that contains the asset you want to embed.Required
domainString, The base URL of your Qrvey instance.Required
userIdString, ID of the Qrvey User that owns the application being embedded. Optional: You can alternately specify the user ID in a Qrvey session cookie.Required, if userId is not included in a session cookie.
dashboardIdString, ID of a specific dashboard to open to. If omitted, the widget will open to "browse all dashboards".Optional
groupListArray<String>, Collection of IDs/names of the groups created in User Management.Optional
pageIdString, ID of a page to visualize. If configured, all auth processes are still required.Optional
clientidString, Unique identifier for the tenant end user. Required for using the End User Personalization and Download Manager features.Optional
themeIdString, Theme ID to use in the component. For more details, please see Accessing a Theme Programmatically.Optional
userFiltersArray<Object>, Collection of custom filters that the system will apply to the visualized data. For more information, please see Working With Filters in Embedded Scenarios.Optional
fitPanelButtonBoolean, When false, hides the "fit to panel" button on charts within the dashboard. Default value is true.Optional
filterPanelDefaultViewString, Decides the default state of the side filter panel, if it’s been added to the view. It can be set to open or closed. The default value is closed.Optional
authenticatedSession.emailString, Specifies the email address to associate with the widget. If an address is not specified, exports are sent to the email address associated with the user ID.Optional
personalizationObject, Configures and/or overwrites the default personalization/customization settings. For more information, please see The Personalization Object below.Optional
customTokensObject, Sets custom threshold values in Bullet and Dial charts. For more information, please see Using Custom Tokens.Optional
featurePermissionObject, Configures which features are available in the widget. For more details, please see The Feature Permission Object below.Optional
subscriptionsSettingsObject, Configures subscription details in the widget. For details, please see The Subscriptions Settings Object below.Optional

Feature Permission

The following table describes the properties of the featurePermission object.

PropertyDescriptionRequired
liteVersionBoolean, If true, hides all elements that are managed by feature permissions. Defaults to false.Optional
downloadsObject, Contains the download and export parameters.Optional
downloads.hideGeneralDownloadBoolean, If true, hides the download feature from the dashboard tool bar. Defaults to false.Optional
downloads.hideScheduleBoolean, If true, hides the scheduling export option in the export modal. Defaults to false.Optional
filtersObject. Contains the filters object parameters.Optional
filters.globalBoolean, If true, hides creation points of global filters. Defaults to false.Optional
filters.pageBoolean, If true, hides creation points of page filters. Defaults to false.Optional
filters.tabBoolean, If true, hides creation points of tab filters. Defaults to false.Optional
filters.chartBoolean, If true, hides creation points of chart filters. Defaults to false.Optional
filters.filterPanelBoolean, If true, hides the filter panel. Defaults to false.Optional
panelsObject. Contains the panels object parameters.Optional
panels.globalObject, Contains global panel settings.Optional
panels.global.hide_allBoolean, When true, hides the entire panel menu. Defaults to false.Optional
panels.global.hide_edit_menuBoolean, When true, hides the "edit chart" option. Defaults to false.Optional
panels.global.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option. Defaults to false.Optional
panels.global.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option. Defaults to false.Optional
panels.global.hide_delete_menuBoolean, When true, hides the "delete chart" option. Defaults to false.Optional
panels.global.hide_JPGBoolean, When true, hides the "download JPG" option. Defaults to false.Optional
panels.global.hide_PDFBoolean, When true, hides the "PDF download" option. Defaults to false.Optional
panels.global.hide_CSVBoolean, When true, hides the "CSV download" option. Defaults to false.Optional
panels.global.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option. Defaults to false.Optional
panels.metricsObject, Contains metrics panel settings.Optional
panels.metrics.hide_edit_menuBoolean, When true, hides the "edit chart" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option for metrics panels. Defaults to false.Optional
panels.metrics.hide_delete_menuBoolean, When true, hides the "delete chart" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_JPGBoolean, When true, hides the "download JPG" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_PDFBoolean, When true, hides the "PDF download" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_CSVBoolean, When true, hides the "CSV download" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option for metrics panels. Defaults to false.Optional
panels.metrics.hide_EXCELBoolean, When true, hides the "EXCEL download" option for metrics panels. Defaults to false.Optional
panels.summariesObject, Contains summaries panel settings.Optional
panels.summaries.hide_edit_menuBoolean, When true, hides the "edit chart" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option for summaries panels. Defaults to false.Optional
panels.summaries.hide_delete_menuBoolean, When true, hides the "delete chart" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_JPGBoolean, When true, hides the "download JPG" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_PDFBoolean, When true, hides the "PDF download" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_CSVBoolean, When true, hides the "CSV download" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option for summaries panels. Defaults to false.Optional
panels.summaries.hide_EXCELBoolean, When true, hides the "EXCEL download" option for summaries panels. Defaults to false.Optional
panels.chartsObject, Contains charts panel settings.Optional
panels.charts.hide_edit_menuBoolean, When true, hides the "edit chart" option for charts panels. Defaults to false.Optional
panels.charts.hide_duplicate_menuBoolean, When true, hides the "duplicate chart" option for charts panels. Defaults to false.Optional
panels.charts.hide_downloads_menuBoolean, When true, hides the "download" sub-menu option for charts panels. Defaults to false.Optional
panels.charts.hide_delete_menuBoolean, When true, hides the "delete chart" option for charts panels. Defaults to false.Optional
panels.charts.hide_JPGBoolean, When true, hides the "download JPG" option for charts panels. Defaults to false.Optional
panels.charts.hide_PDFBoolean, When true, hides the "PDF download" option for charts panels. Defaults to false.Optional
panels.charts.hide_CSVBoolean, When true, hides the "CSV download" option for charts panels. Defaults to false.Optional
panels.charts.hide_CSV_summaryBoolean, When true, hides the "CSV summary" option for charts panels. Defaults to false.Optional
panels.charts.hide_EXCELBoolean, When true, hides the "EXCEL download" option for charts panels. Defaults to false.Optional

Tip: To hide all features, set the liteVersion property to true. For example:

const widgetConfig = {
domain: "DOMAIN",
appId: "APP_ID",
userId: "USER_ID",
featurePermission: {
liteVersion: true,
},
}

Tip: To hide most features, set the liteVersion property to true and list the exceptions you want to show to false. For example:

const widgetConfig = {
domain: "DOMAIN",
appId: "APP_ID",
userId: "USER_ID",
featurePermission: {
liteVersion: true,
userManagement:{
hideUserManagementTab: false
}
},
}

Subscriptions Settings

In the Dashboard View widget, you can enable end users to subscribe to a scheduled delivery of exported dashboards or specific charts. For the Subscriptions feature to work, you must appropriately set the clientid property and pass it in when generating the qvToken. The property’s value should represent a unique identifier for each end user. For more information on using subscriptions, see Subscribing to Exports.

PropertyDescriptionRequired
enable_subscriptionsBoolean, If false, disables the User Subscriptions alarm bell and subscriptions are not available to the end user within the widget. Defaults to true.Optional
emailsArray, Email addresses to deliver the exports to.
Example: [ "email@jmail.com", "email2@jmail.com"]
Optional
allow_editing_recipientsBoolean, Enables the end user to modify the list of recipients of the export.Optional
email_messageObject, JSON object to configure the email message.Optional
email_message.hide_add_subjectBoolean, Toggles visibility of the email's subject field.Optional
email_message.hide_add_messageBoolean, Toggles visibility of the message field.Optional

Personalization

Configures end-user personalization. In the Dashboard View widget, all authenticated users can personalize their view by default. You can use the personalization object to configure and override the personalization settings. End User Personalization feature relies on the user being authenticated and needs the clientid property set for the logged-in user.

To turn personalization off for all users, set the enabled property to false. For example:

const widgetConfig = {
domain: "DOMAIN",
appId: "APP_ID",
userId: "USER_ID",
personalization: {
enabled: false,
},
}

The following table describes the properties of the personalization object.

PropertyDescriptionRequired
enabledBoolean, If false, disables personalization for end users and all of the properties in the personalization object. Defaults to true.Optional
add_filterBoolean, If false, hides the “add filter” buttons and disables users from creating new filters from the filter modal, the filter panel, and filter interactivity page components. Defaults to true.Optional
edit_chartBoolean, if false, disables authenticated users from editing charts. Defaults to true.Optional
download_dataBoolean, If false, disables the download page and panel data in CSV and PDF formats. Defaults to true.Optional
edit_pageBoolean, If false, disables edit mode for the dashboard widget will be displayed and hides the “edit page” button in the floating three-dot menu. Defaults to true.Optional
remove_chartBoolean, If false, users cannot remove charts from the page, when in edit mode. Defaults to true.Optional
rearrange_chartBoolean, If false, users cannot rearrange the chart panels, when in edit mode. Defaults to true.Optional
autoSaveFiltersBoolean, If false, this parameter disables the auto-saving of filters and enables the "Save" button, allowing users to manually save filters when applied. Additionally, setting autoSaveFilters to false removes the ability to restore filters through the filter panel. Defaults to true.Optional
skipRestoreOriginalModalBoolean, If true, this parameter disables the confirmation modal that appears during the "restore original" action. Defaults to false.Optional

Events

The widget supports custom events to update keys of the configuration, you can dispatch an event using your own user interface to modify the behavior.

  • atApplyUserFilters()

    • Purpose: Enables changes to the userFilters property.
    • Example:
      window.dispatchEvent(new CustomEvent('atApplyUserFilters', {detail: userFilters}));
  • qvDSHRestoreDashboard()

    • Purpose: Restores a dashboard to a specified version: ORIGINAL or PERSONALIZED, which must be included in the event's detail field.
    • Scope: Dashboard view.
    • Details: Logs [qvDSHRestoreDashboard]: Unable to restore to the provided version if:
      • No version is specified.
      • An invalid version is provided.
      • clientid is missing in the authentication token.
      • No personalization exists for the dashboard.
      • Personalization is disabled in the configuration.
      • The same version is already active.
    • Example:
      window.dispatchEvent(new CustomEvent('qvDSHRestoreDashboard', { detail: { version: 'PERSONALIZED' } }));
      window.dispatchEvent(new CustomEvent('qvDSHRestoreDashboard', { detail: { version: 'ORIGINAL' } }));
  • qvDSHSaveDashboard()

    • Purpose: Saves modifications to create a personalized version for the clientid specified in the widget configuration.
    • Scope: Dashboard view and edit mode.
    • Details: Logs [qvDSHSaveDashboard]: Unable to save changes. if:
      • No changes are detected.
      • Personalization is disabled in the configuration.
      • clientid is missing in the authentication token.
    • Example:
      window.dispatchEvent(new CustomEvent('qvDSHSaveDashboard'));
  • qvDSHEditDashboard()

    • Purpose: Opens the dashboard in edit mode.
    • Scope: Dashboard view.
    • Details: Logs [qvDSHEditDashboard]: Unable to edit dashboard. if:
      • Personalization is disabled in the configuration.
      • The dashboard is not in desktop view.
      • Dashboard editing is disabled.
      • clientid is missing in the authentication token.
    • Example:
      window.dispatchEvent(new CustomEvent('qvDSHEditDashboard'));
  • qvDSHCloseEditDashboard()

    • Purpose: Exits edit mode in the dashboard.
    • Scope: Edit mode.
    • Example:
      window.dispatchEvent(new CustomEvent('qvDSHCloseEditDashboard'));
  • qvDSHCreateNewSubscription()

    • Purpose: Opens the modal for creating a new subscription.
    • Scope: Dashboard view.
    • Details: Logs [qvDSHCreateNewSubscription]: Unable to create subscription. if:
      • The user is not authenticated.
      • The user is in interact mode.
      • Subscriptions are disabled.
    • Example:
      window.dispatchEvent(new CustomEvent('qvDSHCreateNewSubscription'));
  • qvDSHManageSubscriptions()

    • Purpose: Opens the manage subscriptions modal.
    • Scope: Dashboard view.
    • Details: Logs [qvDSHManageSubscriptions]: Unable to manage subscriptions. if:
      • The user is not authenticated.
      • The user is in interact mode.
      • Subscriptions are disabled.
    • Example:
      window.dispatchEvent(new CustomEvent('qvDSHManageSubscriptions'));
  • qvDSHDownloadDashboard()

    • Purpose: Downloads the dashboard in the specified format (CSV, EXCEL, PDF, or DATASET).
    • Scope: Dashboard view and edit mode.
    • Details: Logs [qvDSHDownloadDashboard]: Unable to download the provided format. if:
      • No format is specified.
      • An unsupported format is provided.
      • Downloads are disabled in the configuration or due to permission settings.
      • The dashboard is loading or a process is currently locking the screen.
    • Examples:
      window.dispatchEvent(new CustomEvent('qvDSHDownloadDashboard', { detail: { format: 'PDF' } }));
      window.dispatchEvent(new CustomEvent('qvDSHDownloadDashboard', { detail: { format: 'CSV' } }));
      window.dispatchEvent(new CustomEvent('qvDSHDownloadDashboard', { detail: { format: 'EXCEL' } }));
      window.dispatchEvent(new CustomEvent('qvDSHDownloadDashboard', { detail: { format: 'DATASET' } }));