Add a console to a Find-Manage Wizard

Technologies > User Interface Add-Ins > Assemblies with Multiple Panes > Find-Manage with Console

Consoles are specialized edit forms used to create filter restrictions on data displayed in other views. Consoles can be used as a part of any view assembly.

<panel type="console" columns="3" id="projectConsole" region="north">

A standard console contains a showPanel command button which creates a filter using the values entered into the console fields. The filter can be applied to one or multiple panels.

<action id="filter">
<title>Filter</title>
<command type="showPanel" panelId="projects_list"/>
<command type="showPanel" panelId="projects_analysis"/>
</action>

By default, console fields display as empty form fields. Fields may be assigned default values.

<field table="project" name="date_commence_work" value="2008-01-01"/>

The clearPanel command clears user-entered console field values and restores the default values.

<command type="clearPanel" panelId="projectConsole"/>

The console panel supports complex restrictions that can be defined using the AXVW format without JavaScript programming. This includes date ranges and LIKE clauses. The second example view's console panel contains two custom fields which create field restrictions using the '>=' and '<=' operators:

<field table="wr" name="date_requested" alias="wr.date_requested.from" op="&gt;=" value="2004-01-01">
<title translatable="true">Requested From Date</title>
</field>
<field table="wr" name="date_requested" alias="wr.date_requested.to" op="&lt;=" value="2004-12-31">
<title translatable="true">Requested To Date</title>
</field>

Date/time form fields typically display the field value in read-only format directly below the form field. In order to suppress this feature, use the showText attribute:

<field table="mo" name="date_req" showText="false"/>

Example 1: http://localhost:8080/archibus/schema/ab-products/solutions/assemblies/find-manage/ab-ex-wr-find-manage.axvw

Example 2: http://localhost:8080/archibus/schema/ab-products/solutions/assemblies/tabbed-views/wizard-find/ab-ex-tabs-wizard-find-filter.axvw