Technologies > User Interface Add-Ins > Flash Drawing Views > Show Floors
Note: With the release of ARCHIBUS V.23.2, all ARCHIBUS views were converted to use the HTML drawing control instead of the Flash drawing control. If you have previously created views that use the Flash drawing control, the view's drawings will still work.
For new views that you create, ARCHIBUS, Inc. recommends using the HTML control, as the Flash control is slated for desupport in future versions of ARCHIBUS. For information on converting existing views with Flash drawings to HTML format, see Convert views with the Flash drawing control to the HTML drawing control.
The following is an example of a simple drawing view opened by a form's select-value button:
<dataSource id="namesDs" type="DrawingControlLabels">
<table name="rm" role="main"/>
<field name="bl_id" hidden="true"/>
<field name="fl_id" hidden="true"/>
<panel type="drawing" id="cadPanel"
<!-- Include JS event handlers for this view -->
Example view: http://localhost:8080/archibus/schema/ab-products/solutions/drawing-flash/ab-ex-select-room.axvw
A panel of type
drawing displays the Flash-based drawing. This example allows the user to open a drawing panel, setting a restriction for the building and floor id. By default, the drawing panel will remain hidden until
addDrawing() or specify the optional
initialData panel attribute:
<panel type="drawing" id="toggleToolbar_cadPanel" labelsDataSource="toggleToolbar_labelNamesDs"
initialData="[ 'fl.bl_id', 'HQ', 'fl.fl_id', '18']">
Example view: http://localhost:8080/archibus/schema/ab-products/solutions/drawing-flash/ab-floorsonly-drawing.axvw
|Copyright © 1984-2018, ARCHIBUS, Inc. All rights reserved.|