Skip to main content

Celonis Product Documentation

Embedded views

Embedded views enable you to display views or filtered versions of views within an existing view, such as embedding a regional or process specific view. Embedded views are useful for both including more information within a view and for benchmarking data. For a view to be embedded, it must be available within your EMS team.

In the below example, the charts have been embedded into an existing view.

View_components_example.png
Configuring embedded views

To configure an embedded view, you first need to copy and paste the key from the view you want to embed. You can find the key by clicking Options - Key:

copy_key.png

This key should then be added to the YAML within the editor, such as in the following example. Here the key is "my-embedded view".

components:
- id: embeddedView
  type: view
  settings:
    key: "my-embedded-view" #Allows JavaScript to embed Views based on conditions E.g. key: ${ (record.alert_type === "SUPER-URGET" && "VIEW-KEY-SUPER-URGENT")}
    allowHeader: true
    allowFilters: true
    shareAll: false
    shareFilters: true
    shareSelections: true
    shareInputs: false

Note

When adding new filters (such as knowledge model filters) to your embedded view, these are inserted at the bottom of any filters inherently present within that view. If the priority order of your filters is important, we recommend added these to the view that is being embedded and not once it has been embedded into a new view.

When configuring embedded views, the following attributes are available:

Key

Options

Description (if true ...)

allowHeader

true/false

The title of the embedded view is visible. In case you want to blend the views, it is recommended to set allowHeader to false.

allowFilters

true/false

The filter bar is shown in the header of the embedded view. That can be helpful in use cases when you don't share filters with another view, you would like to see the filter bar.

shareAll

true/false

Default if not set explicitly: All filters, selections and inputs are shared across views.

shareFilters

true/false

All filters are shared across views.

shareSelections

true/false

All selections are shared across views.

shareInputs

true/false

Inputs can be used across views.