AXVW View File

Views are written in XML. In the most basic view, the top-most <view> element contains a <dataSource> followed by <panel> elements. The <panel> type can be set to:

  • form
  • grid
  • columnReport
  • drawing,chart,console
  • tree , crossTable
  • paginatedReport
  • view
  • custom html content

A simple view AXVW file defining an edit form is below:

< view version="2.0">
< dataSource id="projectDS">
<table name="project" role="main"/>
<field name="project_id"/>
<field name="requestor"/>
<field name="date_requested"/>
<field name="date_commence_work"/>
<field name="date_target_end"/>
<field name="date_end"/>
<field name="proj_mgr"/>
<field name="dv_id"/>
<field name="dp_id"/>
</dataSource>

< panel type="form" columns="1" id="projectForm" dataSource="projectDS">
<title>Edit Project</title>
<!-- Form contains a single Save button -->
<action>
<title>Save</title>
<command type="saveForm"/>
</action>
<!-- By default the form panel displays all fields defined in the dataSource. -->
</panel>
</view>

View: http://localhost:8080/archibus/schema/ab-products/solutions/parts/form/ab-ex-form-panel-1-column.axvw

Smart Client Views

AXVW files displayed in the Smart Client grid ignore all panel elements -- grid, form, console,etc. The Smart Client uses only the dataSource (and designInfo ) element.