Skip to main content
You can add interactivity override settings to your embed script to provide granular control over what your users can do with an embedded Self-Service Analytics component. Properties can be passed with parameters in the interactivityOverrides object of the createComponent method when embedding Self-Service Analytics components. The interactivityProfileName property must be specified before the interactivity overrides (interactivityOverrides object) can work. See Embedded Dashboard Properties and Objects. The interactivityOverrides object includes several property settings: visualSettings, InteractivityValueand editorUserSettings. The following example depicts the use and placement of dashboard and visual interactivity parameters.
Custom user attributes can be used as variables in these property value settings. For example, the following property setting is valid and will insert the value of the var2 custom user attribute in the property setting. If a var2 custom user attribute is not found for a user, a value of true is assumed. While it is possible to save a dashboard profile using custom user attributes, you cannot pass the dashboard profile with custom user attributes in the JavaScript.

Dashboard Interactivity Parameters (settings Property)

Use the settings property to specify interactivity parameters for the dashboard. The default for all dashboard interactivity parameters is true.
ParameterDescription
"ADD_TO_FAVORITES": falseWhen set to true, users can mark the dashboard as a favorite. When set to false, they cannot mark dashboard favorites and the select the favorite icon to add or remove the item from your favorited itemsdashboard icon is not available in the UI.
Type: boolean
"ADD_VISUALS": falseWhen set to true, these options are accessible in the dashboard UI:
  • Select the dashboard icon select the add icon to add widgets to a dashboard to add existing visuals to the dashboard (Add Existing Visual).
  • Select Add to Visual Gallery from the Selet the three dots icon to open a show more menu or take actions for the named column menu to replace local visuals with Visual Gallery visuals. See Create and Add Visuals to the Visual Gallery.

When set to false, users cannot add existing visuals or replace visuals in the dashboard.
Type: boolean
If all menu item parameters are false, the dashboard icon is not shown in the UI. If any menu item parameters are true, the dashboard icon is shown in the UI, and includes any items set to true.
"CHANGE_LAYOUT": trueWhen set to true, users can resize or move visuals in the dashboard. When set to false, they cannot resize or move visuals in the dashboard.
Type: boolean
"COMMENTS": trueWhen set to true, users with appropriate permissions can access comments (read, write, edit their own, and delete comments, depending on their access level). When set to false, comments are not available in the UI.
Type: boolean
"CREATE_FILTER_SNIPPETS": falseWhen set to true, users can add new filter snippets (select the add filter snippet icon to add a filter snippet to a dashboard) to the dashboard using the dashboard icons. When set to false, they cannot create new snippets to add to the dashboard.
Type: boolean
If all menu item parameters are false, the dashboard icon is not shown in the UI. If any menu item parameters are true, the dashboard icon is shown in the UI, and includes any items set to true.
"CREATE_TEXT_SNIPPETS": falseWhen set to true, users can add new text snippets (select to add a rich text snippet) to the dashboard using the dashboard icons. When set to false, they cannot create new snippets to add to the dashboard.
Type: boolean
If all menu item parameters are false, the dashboard icon is not shown in the UI. If any menu item parameters are true, the dashboard icon is shown in the UI, and includes any items set to true.
"CREATE_VISUALS": falseWhen set to true, users with Owner and Editor access levels or the Administer Visuals privilege, these options are accessible in the dashboard UI:

When set to false, they cannot create new local visuals or convert Visual Gallery visuals in the dashboard.
Type: boolean
If all menu item parameters are false, the dashboard icon is not shown in the UI. If any menu item parameters are true, the dashboard icon is shown in the UI, and includes any items set to true.
"DASHBOARD_ALERTS": falseWhen set to true, users with appropriate privileges can create and edit dashboard alerts using the dashboard icon select to manage alerts. When set to false,the dashboard icon is hidden and users cannot create or edit dashboard alerts.
"DASHBOARD_INTERACTIONS": trueWhen set to true, users can link fields between disparate data sources to create cross-source links. When set to false, they cannot create cross-source links and the select to manage cross source links in your environmentdashboard icon is not available in the UI.
"DASHBOARD_LINKS": trueWhen set to true, users can link dashboards. When set to false, they cannot link dashboards and the select to manage dashboard links and visual linksdashboard icon is not available in the UI.
Type: boolean
"DELETE": trueWhen set to true, users can delete the dashboard. When set to false, they cannot delete the dashboard and the dashboard icon is not available in the UI.
Type: boolean
"EXPORT_CONFIGURATION": trueWhen set to true, users can export the JSON configuration for the dashboard. When set to false, the Export dialog in the UI no longer provides an option to export the configuration. If this setting and the EXPORT_PNG_PDF setting are both turned off, the select to export this itemdashboard icon is not available in the UI.
Type: boolean
"EXPORT_CSV": trueWhen set to true, users can Export the dashboard as a CSV file. When set to false, they cannot export the dashboard as a CSV file and the Export dialog in the UI no longer provides this export option. If all export settings and the EXPORT_CONFIGURATION setting are both turned off, the select to export this itemdashboard icon is not available in the UI.
Type: boolean
"EXPORT_PNG_PDF": trueWhen set to true, users can Export the dashboard as a PNG or PDF file. When set to false, they cannot export the dashboard as a PNG or PDF file and the Export dialog in the UI no longer provides this export option. If all export settings and the EXPORT_CONFIGURATION setting are both turned off, the select to export this itemdashboard icon is not available in the UI.
Type: boolean
"EXPORT_XLSX": trueWhen set to true, users can Export the dashboard as an Excel (.xlsx) file. When set to false, they cannot export the dashboard as an Excel (.xlsx) file and the Export dialog in the UI no longer provides this export option. If all export settings and the EXPORT_CONFIGURATION setting are both turned off, the select to export this itemdashboard icon is not available in the UI.
Type: boolean
"FILTER": trueWhen set to true, users can apply filters to the dashboard. When set to false, they cannot apply dashboard filters and the dashboard icon is not available in the UI.
Type: boolean
"REFRESH": trueWhen set to true, users can refresh the dashboard data. When set to false, they cannot refresh dashboard data and the select to refresh the underlying data behind an object, or the specific fielddashboard icon is not available in the UI.
Type: boolean
"RENAME": trueWhen set to true, users can rename the dashboard. When set to false, they cannot rename the dashboard.
Type: boolean
"SAVE_AS": trueWhen set to true, users can save the dashboard (make a copy) using a new name. When set to false, they cannot save the dashboard with a new name and the dashboard icon is not available in the UI.
Type: boolean
"SAVE": trueWhen set to true, users can save the dashboard. When set to false, they cannot save the dashboard and the select the save icon to save your changes dashboard icon is not available in the UI.
Type: boolean
"SCHEDULE_REPORTS": trueWhen set to true, users with appropriate privileges can schedule dashboard reports using the dashboard icon select the schedule report icon to schedule a dashboard or report with others. When set to false, the dashboard icon is hidden and they cannot schedule dashboard reports.
Type: boolean
"SHARE_DASHBOARD": trueWhen set to true, users can share dashboards using the dashboard icon select to share a visual, dashboard, or report. When set to false, the dashboard icon is hidden and they cannot share dashboards.
Type: boolean
"SHARE_FILTER_SETS": trueWhen set to true, users can share saved filter sets with other users. When set to false, users cannot view or use filter sets for the dashboard.
Type: boolean
"WIDGETS": trueWhen set to true, users can share saved filter sets with other users. When set to false, users cannot view or use the widget settings sidebar menu.
Type: boolean

Visual Interactivity Parameters (visualSettings Property)

Use the visualSettings property to specify visual interactivity parameters for the embedded visuals. If the overrideVisualInteractivity property is set to true within these settings, the visual interactivity parameters will override any interactivity properties specified for the individual visuals. The defaults for these parameters are determined by the interactivity profile.
  • If the interactivity profile is readonly, then the overrideVisualInteractivity property is true and all visualSettings parameters are false. If the interactivity profile is interactive, then the overrideVisualInteractivity property is set to false, all visualSettings parameters are empty, and the visual interactivity settings for the individual visuals are used.
  • When a custom interactivity profile is saved for a dashboard and overrideVisualInteractivity is set to false, then all visualSettings parameters are empty and the visual interactivity settings for the individual visuals are used. If overrideVisualInteractivity is set to true, then the visualSettings for the dashboard are used.
ParameterDescription
"ACTIONS": falseWhen set to true, users can invoke an action using the Actions option from the visual drop-down menu. When set to false, they cannot invoke actions.
Type: boolean
"ACTIONS_ACTION": falseWhen set to true, users can invoke an action using the Actions option on the context menu. When set to false, they cannot invoke actions.
Type: boolean
"COLORS": falseWhen set to true, users can change the color palette used by the visual.
When set to false, they cannot change the color palette . The color settings () visual sidebar menu option is disabled and they cannot access the color sidebar.
Type: boolean
"CONDITIONAL_FORMATTING": falseWhen set to true, users define conditional formatting for the visual.
When set to false, they cannot define conditional formatting. The conditional formatting visual sidebar menu option is disabled and can not be accessed.
Type: boolean
"COPY": falseWhen set to true, users can copy a visual using the Copy Visual option from the visual drop-down menu. When set to false, they cannot copy visuals.
Type: boolean
"DETAILS_ACTION": falseWhen set to true, users can display additional information about a specific visual data element using the Details option on the context menu. When set to false, users cannot display additional information about a specific visual data element using the context menu.
Type: boolean
"EXPORT_CSV": falseWhen set to true, users can Export the visual as a CSV file. When set to false, they cannot export the visual this way, and the UI no longer provides this export option. If all export settings are turned off, the export menu is removed.
Type: boolean
"EXPORT_PNG_PDF": falseWhen set to true, users can Export the visual as a PNG or PDF file. When set to false, they cannot export the visual this way, and the UI no longer provides this export option. If all export settings are turned off, the export menu is removed.
Type: boolean
"EXPORT_XLSX": falseWhen set to true, users can Export the visual as an Excel (.xlsx) file. When set to false, they cannot export the visual this way, and the UI no longer provides this export option. If all export settings are turned off, the export menu is removed.
Type: boolean
"FILTER": falseWhen set to true, users can filter visual data using the Filter option from the visual drop-down menu and to the left of the visual name on a visual, or display name if viewed in a dashboard. When set to false, they cannot filter visual data.
Type: boolean
"FILTER_ACTION": falseWhen set to true, users can filter data using the Filter option on the context menu. When set to false, users cannot filter data using the Filter option on the context menu.
Type: boolean
"FORMAT": falseWhen set to true, users can Format specific data in a visual. When set to false, they cannot format visual data.
Type: boolean
"GROUPING": falseWhen set to true, users can change the Group field on the x-axis of the visual. When set to false, they cannot change the Group field.
Type: boolean
"INFO": falseWhen set to true, users can see visual details in the Info sidebar menu. When set to false, they cannot see those details.
Type: boolean
"KEYSET": falseWhen set to true, users can create a keyset from the visual data using the Create Keyset option from the visual drop-down menu. When set to false, users cannot create keysets.
Type: boolean
"KEYSET_ACTION": falseWhen set to true, users can create a keyset from a selected data point using the Keyset option on the context menu. When set to false, users cannot create a keyset using the context menu.
"LINK_ACTION": falseWhen set to true, users can link to another dashboard using the Link option on the context menu. When set to false, users cannot link to another dashboard using the Link option on the context menu.
Type: boolean
"MAXIMIZE": falseWhen set to true, users can maximize a visual for optimal viewing. When set to false, they cannot maximize a visual.
Type: boolean
"METRICS": falseWhen set to true, users can change metric fields (other than a metric that might be in the Group field) on the axes for the visual. This setting also controls whether a user can control the aggregation method (SUM, AVG, MIN, MAX, etc.) used for metrics in a table. When set to false, users cannot change metric fields or control the aggregation method used for metrics on a visual.
Type: boolean
"overrideVisualInteractivity": falseWhen set to true, the individual visual interactivity settings for each visual on the dashboard are overridden and ignored. Instead, the visual interactivity settings set for the dashboard are used for all of the visuals in the dashboard. These settings are only applied to the visuals when they are used in this dashboard and not universally.
When set to false, the individual visual interactivity settings for each visual are honored.
Type: boolean
"REMOVE": falseWhen set to true, users can remove a visual using the Remove Visual option from the visual drop-down menu. When set to false, users cannot remove visuals.
Type: boolean
"RENAME": falseWhen set to true, users can change the display name of a visual. When set to false, they cannot change the display name of visual.
Type: boolean
"RULERS": falseWhen set to true, users can add visual reference lines and customize the markers used on the metric axis.
When set to false, users cannot add reference lines and markers. The ruler settings () visual sidebar menu option is disabled when this switch is off and you cannot access the ruler sidebar.
Type: boolean
"SAVE_AS": falseWhen set to true, users can save a shared visual (make a copy) using a new name. When set to false, they cannot save the shared visual with a new name and the option is not available in the UI.
Type: boolean
"SAVE": falseWhen set to true, users can save the shared visual. When set to false, they cannot save the shared visual and the option is not available in the UI.
Type: boolean
"SETTINGS": falseWhen set to true, users can specify settings for the visual using the visual settings option on the visual sidebar menu.
When set to false, users cannot specify visual settings. The visual settings (Select the settings icon on the sidebar menu to open settings options) visual sidebar menu option is disabled and users cannot access the visual settings sidebar.
Type: boolean
"SORT": falseWhen set to true, users can sort and limit the data in a visual.
When set to false, users cannot sort and limit visual data. The sort and limit () visual sidebar menu option is disabled when this switch is off and you cannot access the Sort & Limit sidebar.
Type: boolean
"TIMEBAR_FIELD": falseWhen set to true, users can change the time field on the time bar. When set to false, users cannot change the time field.
Type: boolean
"TIMEBAR_PANEL": falseWhen set to true, users can show and hide the time bar on a visual. When set to false, the time bar is hidden for this visual.
Type: boolean
"TREND_ACTION": falseWhen set to true, users can view trends for a selected data point using the Trend option on the context menu. When set to false, users cannot view trends for a selected data point using the context menu.
Type: boolean
"VISUAL_STYLE": falseWhen set to true, users can change the type of visual to another type.
When set to false, users cannot change the visual type. The re-visualize (was visual style) settings () visual sidebar menu option is disabled when this switch is off and users cannot access this sidebar menu option.
Type: boolean
"ZOOM_ACTION": falseWhen set to true, users can drill down in a selected data point on a visual using the Drill Down (formerly Zoom) option on the context menu. When set to false, users cannot drill down in a selected data point on a visual using the Drill Down option on the context menu.
Type: boolean

Sources Inventory Interactivity Parameters (InteractivityValue Property)

Use the InteractivityValue property to specify interactivity parameters for the sources inventory.
ParameterDescription
"ADD_NEW": trueWhen set to true, users can create a new data source configuration. When set to false, the button to create a new data source is hidden.
Type: boolean
"FILTER": trueWhen set to true, users can filter sources using the quick filter icons to the left of the Search field on the sources page. When set to false, they cannot filter sources.
Type: boolean
"DELETE": trueWhen set to true, users can delete data source configurations not currently in use by a visual.
When set to false, they cannot delete data source configurations, and the delete icon is not visible in the UI.
Type: boolean
"DESCRIPTION": trueWhen set to true, users can view and search for items (sources, visual gallery visuals, dashboard or self-service report in the library) by the contents of an item’s description.
When set to false, description options are not available to users.
Type: boolean
"EXPORT": trueWhen set to true, users can export data source configurations.
When set to false, users cannot export data source configurations, and the option is not visible in the UI.
Type: boolean
"PERMISSIONS": falseWhen set to true, users can manage user and group permissions for data sources. When set to false, they cannot manage permissions for data sources, and the related icons are not visible in the UI.
Type: boolean
"FAVORITES": trueWhen set to true, users can mark the data source as a favorite. When set to false, they cannot mark data source favorites and the favorites icons are not visible in the UI.
Type: boolean
"ROW_SECURITY": falseWhen set to true, users can define row security for data sources. When set to false, they cannot define row security for data sources, and the related icons are not visible in the UI.
Type: boolean
"COLUMN_SECURITY": falseWhen set to true, users can define column security for data sources. When set to false, they cannot define column security for data sources, and the related icons are not visible in the UI.
Type: boolean
"CLEAR_CACHE": trueWhen set to true, users can clear the cache for a data source. When set to false, users cannot clear the cache for a data source and the related icons are not visible in the UI.
Type: boolean
"AVAILABLE_VISUAL_TYPES": trueWhen set to true, users invoke the Available Visual Types work area to enable and disable available visual types for a source. When set to false, they cannot affect available visual types, or see related icons are not visible in the UI.
Type: boolean

Editor Configuration (editorUserSettings Property)

Use the editorUserSettings property to configure the interactivity parameters for the dashboard.
ParameterDescription
isViewModeWhen set to true, the dashboard opens for editors and creators in View mode. When set to false, the dashboard opens for editors and creators in Edit mode.
Type: boolean
Default: false
canSwitchModeWhen set to true, editors can toggle between View and Edit modes. When set to false, editors can not toggle between View and Edit modes.
Type: boolean
Default: true
allowInteractivityConfigurationWhen set to true, editors can change interactivity settings for the dashboard and visuals. When set to false, editors can not change interactivity settings for the dashboard and visuals.
Type: boolean
Default: false
PropertyDescription
"ADD_FROM_CONNECTION" : trueWhen set to true, users can see and use the Add From Connection menu item on the Source Creation tab. When set to false, it is hidden.
Type: boolean
"ADD_FROM_FILE_UPLOAD" : trueWhen set to true, users can see and use the Add From File menu item on the Source Creation tab. When set to false, it is hidden.
Type: boolean
"SELECT_FILE_UPLOAD" : trueWhen set to true, users can see and use the Select File control on the Source Creation tab. When set to false, it is hidden.
Type: boolean
"UPLOAD_NEW_FILE" : trueWhen set to true, users can see and use the Upload New File button on the Source Creation tab. When set to false, it is hidden.
Type: boolean
"CREATE_JOINS" : trueWhen set to true, users can see and use the Add control. When set to false, it is hidden.
Type: boolean
"FILTER_VALUES_ENTITIES" : trueWhen set to true, users can see and use the Filter Values Entity option on the Source Creation tab. When set to false, it is hidden.
Type: boolean
PropertyDefault ValueDescription
ADD_DERIVED_FIELDtrueDefines the visibility of the Add Derived Field button on the Fields tab.
Type: boolean
ADD_HIERARCHY_FIELDtrueDefines the visibility of the Add Hierarchy Field button on the Fields tab.
Type: boolean
ADD_CUSTOM_METRICtrueDefines the visibility of the Add Custom Metric button on the Fields tab.
Type: boolean
VISIBILITYtrueDefines the visibility of the Visibility column on the Fields tab.
Type: boolean
SETTINGStrueDefines the visibility of the Settings menu on the Fields tab.
Type: boolean
FILTER_VALUEStrueDefines the visibility of the Filter Values menu on the Fields tab.
Type: boolean
INFOtrueDefines the visibility of the Info menu on the Fields tab.
Type: boolean
DELETEtrueDefines the visibility of the Delete button on the Fields tab.
Type: boolean
FILTER_VALUE_OVERRIDEStrueDefines the visibility of the Filter Values tab on the Fields tab.
Type: boolean
FIELD_CAPABILITIEStrueDefines the visibility of the Field Capabilities button on the Fields tab.
Type: boolean
MANAGE_TRANSLATIONStrueDefines the visibility of the Upload Translation File button on the Fields tab.
Type: boolean

Caching Interactivity Settings

PropertyDefault ValueDescription
DATA_CACHEtrueDefines the visibility of the Data Cache control on the Cache tab.
Type: boolean
STATISTICS_CACHEtrueDefines the visibility of the Statistics Cache control on the Cache tab.
Type: boolean
SCHEDULE_REFRESHtrueDefines the visibility of the Schedule Refresh control on the Cache tab.
Type: boolean
STATISTICS_CACHEtrueDefines the visibility of the Statistics Cache control on the Cache tab.
Type: boolean