Menu example
In this example an agency has created a custom grouping for its roadway and sidewalk inspection queries. In the Grouping node, note that the SearchHintText is set to "Permit #" and the SearchAction is set to show a building permit application by number. This defines the search field that is displayed at the top of the home screen when a user selecting this grouping. "Permit #" is displayed within the field and the user can then enter a permit number to look up that application.
For most inspection groupings, the search field is used to look up inspections, but the agency has modified this grouping to look up applications instead.
<Grouping Icon="Inspections" Profiles="BldInspector"
DisplayName="Inspections" SearchHintText="Permit #"
Id="RoadwayInspections" SearchAction=
"BuildingApplicationViewController/ShowRecordViewerByApNumber/{0}">
<Item ResultCode="IsResulted"
DisplayAction="QueryGridMapViewController/ShowGridView?
gridViewId=CDR_Building_Inspection_GridView"
Id="ActiveRoadwayInspectionsDistrict" DisplayName="Active Roadway"
Description="Active Roadway Inspections by District"
QueryId="RoadwayByDistrict" Default="True"
SelectAction="BuildingInspectionViewController/ShowRecordViewer/{0}" />
<Item ResultCode="IsResulted"
DisplayAction="QueryGridMapViewController/ShowGridView?
gridViewId=CDR_Building_Inspection_GridView"
Id="ActiveSidewalkInspectionsDistrict" DisplayName="Active Sidewalk"
Description="Active Sidewalk Inspections by District"
QueryId="SidewalkByDistrict"
SelectAction="BuildingInspectionViewController/ShowRecordViewer/{0}" />
</Grouping>