Interactivity Properties
You can add interactivity override settings to your embed script to provide granular control over what your users can do with an embedded Composer component. Properties can be passed with parameters in the interactivityOverrides object of the createComponent method when embedding Composer 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 parameters of the
settingsproperty affect the current embedded dashboard interactivity. See Dashboard Interactivity Parameters (settings Property).The parameters of the
visualSettingsobject property affect the current embedded visual interactivity. See Visual Interactivity Parameters (visualSettings Property).The parameters of the
InteractivityValueproperty define the source inventory dashboard. See Sources Inventory Interactivity Parameters (InteractivityValue Property) .The parameters of the
editorUserSettingsproperty define the editor configuration dashboard. See Editor Configuration (editorUserSettings Property).
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.
"CHANGE_LAYOUT": "${User.var2|true}"
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.
| Parameter | Description |
|---|---|
|
When set to Type: boolean |
|
When set to
When set to Type: boolean
Note:
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.
|
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean
Note:
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.
|
|
When set to Type: boolean
Note:
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.
|
|
When set to
When set to Type: boolean
Note:
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.
|
|
When set to |
|
When set to |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to 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 theoverrideVisualInteractivityproperty istrueand allvisualSettingsparameters arefalse. If the interactivity profile isinteractive, then theoverrideVisualInteractivityproperty is set tofalse, allvisualSettingsparameters are empty, and the visual interactivity settings for the individual visuals are used.When a custom interactivity profile is saved for a dashboard and
overrideVisualInteractivityis set tofalse, then allvisualSettingsparameters are empty and the visual interactivity settings for the individual visuals are used. IfoverrideVisualInteractivityis set totrue, then thevisualSettingsfor the dashboard are used.
| Parameter | Description |
|---|---|
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When 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 |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
Sources Inventory Interactivity Parameters (InteractivityValue Property)
Use the InteractivityValue property to specify interactivity parameters for the sources inventory.
| Parameter | Description |
|---|---|
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
|
When set to Type: boolean |
Editor Configuration (editorUserSettings Property)
Use the editorUserSettings property to configure the interactivity parameters for the dashboard.
| Parameter | Description |
|---|---|
isViewMode |
When set to Type: boolean Default: |
canSwitchMode |
When set to Type: boolean Default: |
allowInteractivityConfiguration |
When set to Type: boolean Default: |
Comments
0 comments
Please sign in to leave a comment.