Command attributes
Each
node can have one node and one node as children. The node represents the different actions users can perform in the Map Drawer after it is open. The node represents the options that are displayed in the drop-down menu when a user clicks the button.The
node can have one or more nodes as children, each of which represents an action that users can perform in the Map Drawer. Each node can have these attributes:Attribute | Description |
---|---|
Access Id | Access ID for this command. The access ID is a unique number that identifies the permission in Access Control that users must be granted to gain access to this command. |
appletmoniker | Moniker of the applet that Infor Public Sector will start when users select the command. For example, a “Create Work Order” command will launch Hansen.WorkManagement.CreateWorkOrderApplet. If you don’t specify a moniker here, the command applies to the applet from which the Map Drawer was opened. |
closemap | Can be set to True or
False to indicate whether
Infor Public Sector should close the Map
Drawer after executing the command. Note: This attribute is ignored if you specify a value for
the popupmessage attribute or the appletmoniker
attribute, because in each case another window is opened.
|
id | Unique ID for the command. |
items | List of items that the command applies to. The command will
only be available if you select one of these items from the menu to open
the Map Drawer. Items are identified by their id attributes. You can enter
multiple ids separated by commas, or you can enter “*” if the command is
available for all items. “*” is the default. Wildcards such as Hello.* are allowed, but *.Hello is treated as a literal. Item ids can also contain wildcards. |
license | License that users must be granted to use this command. |
markmoniker | For action and context commands, the markmoniker attribute specifies the moniker of the component associated with the marker that the command applies to, such as Hansen.AssetManagement.Asset for the Set Asset command in the Create Work Order Map Drawer. You can enter multiple monikers separated by commas, or you can enter “*” if the command is available for all markers. |
minimumfeaturecount | Number of features that must be selected in the map before this command is available. |
popupmessage | Text of the message that Infor Public Sector will show when the command is executed. |
querymoniker | For query commands, the querymoniker attribute specifies the
moniker of the component that is displayed in the query layer. Specify a dataset moniker, or a moniker with LocatingProperties that identifies a dataset. Locating properties are defined for assets, billing accounts, applications, cases, inspections, reviews, parcels, addresses, properties, work orders. For example, a project application has address, parcel, and property locating properties. All three of these component types are queries. |
rule | Method that will be executed when a user selects the
command. The method signature varies depending on the command type. For
point commands the method signature is public
Result MethodName(double, double) . For context commands it
is public Result MethodName
(IComponent) . For action commands it is public Result MethodName (ComponentList) .
If you don’t enter a rule Infor Public Sector
will use InitView by default. |
state | Initial state of the layer associated with a query command. Can be set to On or Off. |
text | Text of the command. For action commands, the text is displayed in the | button menu. For context and point commands, the text is displayed in the popup menu when you right-click a marker or a point on the map. For query commands, the text is displayed as the label of the query layer.
type | Type of command. Can be set to one of these values:
|