Skip to main content

What’s New

Qrvey 9.0
Qrvey Version 9.0 is now available! This release introduces multi-platform hosting (Azure & AWS), a redesigned Dashboard, extensive widget customizations, and numerous features, enhancements, bug fixes, and performance improvements.
Learn More
Qrvey 8.8
Qrvey Version 8.8 (LTS) is now available to customers! This version supports FIPS for GovCloud and includes tons of bug fixes and performance improvements.
Learn More
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: 9.0

Dashboard

When embedded in an application, this widget enables complete dashboard management for tenant end-users in embedded scenarios.

Embeddable Script

<!-- Tag -->
<qrvey-builders settings="config"></qrvey-builders>

<!-- Config -->
<script>

var config = {
"apiKey": "<YOUR_PRIVATE_API_KEY>",
"domain": "<DOMAIN>",
"appId": "<APP_ID>",
"userId": "<USER_ID>",
"dashboardId": "<DASHBOARD_ID>",
"clientId": "<CLIENT_ID>",
"orgId": "<ORG_ID>",
"customization": {
"views": {
"design": {
"remove": ["downloadModal.qSubscribeOption"]
}
}
}
};
</script>

<!-- Launcher -->
<!-- Widget's Launcher -->
<script type="module" src="https://integration-test.az.mp.qrveyapp.com/qrvey-dashboard/qrvey-dashboard/qrvey-dashboard.esm.js"></script>

Configuration Object

PropertyTypeRequiredQVToken SupportDescription
domainStringRequiredNoQrvey instance URL.
qvTokenStringOptionalNoEncrypted string securing the widget config. Required if no apiKey is provided. Cannot be used of apiKey.
apiKeyStringRequired, if qvToken is not providedNoSecret identification token for accessing the application. Required if no qvToken is provided. Cannot be used with qvToken.
appIdStringRequiredYes, and must be passed via qvToken during production.ID of the Qrvey application.
userIdStringRequiredYes, and must be passed via qvToken during production.User ID of the application owner.
dashboardIdStringOptionalYesID of a specific dashboard to embed. If omitted, the widget will present the "browse dashboards" page.
clientIdStringRequiredYes, and must be passed via qvToken during production.Unique identifier for the tenant end user. The clientId must be set to a unique value for each tenant end user.
rolesArray<string>OptionalOnlyUsed for setting Column Level Security as well as access/permissions when sharing.
orgIdStringRequiredYesOrganization ID for the end user. Required for widget access and sharing.
orgsObject ArrayOptionalOnlyThe orgs object to list users and roles per organization for Sharing. The provided list of users and roles, defined per organization, will be displayed in the Share and Subscribe modals. Note: The orgs object is ignored when the widget's orgId is set to "org:0".
userFiltersObjectOptionalYesCollection of custom filters that the system will apply to the visualized data. For more information, see Working With Filters in Embedded Scenarios.
timezoneStringOptionalYesTimezone offset applied to dates. For more information, see Configuring Time Zone Settings.
i18nObjectOptionalNoDefines the language to be displayed in the static text of the widget as well as the dataset columns. For details, please see The i18n Object.
themeIdStringOptionalNoTheme ID to use in the component. For more details, please see Accessing a Theme Programmatically.
stylesJSONOptionalNoKey-value JSON with style variables. See the Dashboard Styles documentation.
defaultMode"design" or "interact"OptionalNoSets the dashboard's default mode, so it opens in either design or interact mode. Defaults to interact mode.
customTokensCustom TokensOptionalNoSets custom threshold values in Bullet and Dial charts, tokens in Flows, etc. For more information, see Using Custom Tokens.
permissionsJSONOptionalOnlyRecord-level security permissions object.
asset_permissionsAsset PermissionsOptionalOnlyThe asset permissions object.
emailStringOptional, but Required in order to enable scheduling and subscriptions.OnlyEmail of the clientId user. When passed in the qvToken, enables scheduling of exports and subscriptions.
customizationJSONOptionalNoThe Dashboard customization object.

Orgs

PropertyTypeDescription
orgIdStringThe ID of the organization to which the roles and users will be defined next. Should correspond to the user in session's orgId if you want the roles and users to be listed in sharing and subscribe.
orgRolesArrayThe roles available to share the dashboard with inside the organization defined with orgId.
usersArrayAn object/array of users to be listed in the sharing and subscribe modals. This is not for the current user. Adjust clientId and email accordingly.
users.clientIdStringclientId of the user.
users.emailStringEmail address of the user.
const orgs = [
{
orgId: 'ORG_ID',
orgRoles: [ '<ROLE1>', '<ROLE2>' ],
users: [
{
clientId: 'CLIENT_ID',
email: 'EMAIL'
},
{
clientId: 'CLIENT_ID2',
email: 'EMAIL2'
}
]
}
]

i18n

For more information, please see Internationalization, Step by Step.

PropertyTypeRequiredValue
langStringRequiredThe language to use for the UI. Example: "es".
localeStringOptionalThe locale code to use for date and number formatting. Example: "es-ES".

Methods

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.

// Enables changes to the userFilters property.

const dashboardComponent = document.querySelector("qrvey-dashboard");
dashboardComponent.setUserFilters(filters);