Including External Views

External view files can be included into layout regions using the <panel type="view"> element along with the panel’s file attribute. This can be used to create dashboard-style user interface, or to use pre-16.3 views as parts of find-manage assemblies.

<view version="2.0">
<title translatable="true">Dashboard Example</title>
<layout file="dashboard-1-2-0.axvw"/>
<panel type="view" id="panel_row1col1" file="ab-ex-part-grid-project.axvw" layoutRegion="row1col1"/>
<panel type="view" id="panel_row1col2" file="ab-ex-part-grid-wr.axvw" layoutRegion="row1col2"/>
<panel type="view" id="panel_row2col2" file="ab-ex-part-grid-wo.axvw" layoutRegion="row2col2"/>
</view>

File: solutions\dashboards\ab-ex-dashboard-1-2-0.axvw

In order to incorporate pre-16.3-style views, the panel's included view content must be wrapped inside an IFrame element by specifying panel attribute useFrame="true" . Such an assembly will be no different visually from an assembly using inline panels. This allows the creation of dashboards using views that were not originally designed to work together, and prevents conflicts between HTML element names and JavaScript function names.

<panel type="view" id="panel_row3col2" file="ab-ex-part-mdx.axvw" layoutRegion="row3col2" useFrame="true"/>

File: solutions\dashboards\ab-ex-dashboard-3-4-3.axvw