Using multiple Knowledge Models/Data Models in one view
Using data for multiple Data Models within one view is very easy. The Knowledge Models you refer to must be in the same package.
In a view, you specify the default Knowledge Model at the very top. Example:
Example Board Config
name: Component Showcase knowledgeModelKey: ACCOUNTS_PAYABLE_MAIN layout: rows:
You can also specify a different knowledgeModelKey (which can have different Data Models attached) per component:
Example component definition
components: - id: SankeyDiagram type: sankey settings: knowledgeModelKey: ACCOUNTS_PAYABLE_MAIN_HISTORICAL_DATA ... - id: Marker type: chart settings: ... name: Marker chart
The SankeyDiagram will now use the ACCOUNTS_PAYABLE_MAIN_HISTORICAL_DATA but the Marker (Chart) will use the default ACCOUNTS_PAYABLE_MAIN.