Creating a new Extension View from a Base
To better understand the advantages of the Base/Extension concept, the following section explains how to create an entirely new view focusing on a specific set of KPIs as defined in the Knowledge Model. Therefore, the previously mentioned methods around Base/Extension Views are used to build a new basic view.
To simplify the process, the following example shows how to use some existing KPIs coming from the Knowledge Model. This will result in a view allowing the business user to analyze the development of the “Supplier Reliability” as well as the “Amount affected Purchase Orders”.
This will also work with any other KPI created in the Knowledge Model.
To do this, create a new view called “Supplier Reliability” (as an example) in the same package where we store the other views of the Starter Kit App, by clicking on the “+” icon in the Tabs folder.
Select the Knowledge Model from the dropdown and select the View “Process | Base” as the Base View for the new Extension View. Once the Base for the “Supplier Reliability” view is selected, click the Create button to show an exact copy of the base view in Edit Mode.
Switch to the YAML editor by clicking on the “</>” button in the upper right corner to open an empty view without any Layout or Component definitions. All components in the View are inherited from the Base View. Nothing was overwritten by the Extension.
To adapt the content to show the mentioned KPIs, change/add a few KPIs in the components, including:
KPI List
Trend Chart
Drilldown table
Once these changes have been made to the Base View, you can add new tables or charts depending on what you want to show in the Order Returns Process Cockpit View.