The ECAD-ComponentSearchForm
form includes these fields where users can
enter search criteria.
emxFramework.Basic.Type
emxFramework.Basic.Name
emxFramework.Basic.Revision
emxFramework.GlobalSearch.LatestRevisionOnly
emxFramework.Basic.Policy
emxFramework.Basic.Current
emxFramework.Basic.Vault
emxFramework.Basic.Description
When designing the criteria form, you can remove any of the above fields, and add any
additional fields. For complete details about modifying forms, see MQL Command Reference: form
Command. Use that information with the information here to determine how to update the
ECAD-ComponentSearchForm
form to meet your business requirements. Below is
an example to configure Target Cost.
mod ify form ECAD -ComponentSearchForm
field label targetcost expression
label "emxFramework.Attribute.Target_Cost" setting "Query Attribute" Target Cost"
setting "Query Comparitor" smatchlist
setting "Registered Suite" Framework
setting "_client_typeClass" op eratorfield
setting format real
The _client_typeClass operatorfield
and format real
settings are required for configuring a field that uses operators.
Use string resources for labels to support localization.
Most fields allow text entry or selection from lists. You can use the
typeClass
setting for a field to define chooser or other types of
selectors.
type Class |
Settings |
Description |
typechooser |
typeClass=typechooser
rootType=[AdminType] e.g. “Part”
rootTypeVisible=[true|false]
|
The Type Search Dialog will present the user with an expandable Tree in which the
user can make the selection of exactly one entry.
The Tree displays the type hierarchy based on an input type. By default the first
Level of the tree components is expanded.
|
vaultchooser |
typeClass=vaultchooser |
The Vault Search Dialog will present the user with a list of vault entries in which
the user can de-/select one or more entries.
The upper entry field is used to do a fast selection based on some input. This
means, if the user is typing some characters, the possible selection will be
highlighted.
|
policychooser |
typeClass=policychooser |
The Policy Search Dialog will present the user with a list of policy entries in
which the user can de-/select one or more entries.
The upper entry field is used to do a fast selection based on some input. This
means, if the user is typing some characters, the possible selection will be
highlighted.
|
statechooser |
typeClass=statechooser |
The State Search Dialog will present the user with a list of state entries in which
the user can de-/select one or more entries.
The list of available states is defined by the currently selected policies. Only
states which are available for the selected policy will be shown.
The upper entry field is used to do a fast selection based on some input. This
means, if the user is typing some characters, the possible selection will be
highlighted.
|
revision |
typeClass=revision |
The revision element is a simple textfield which is mainly used in combination with
the “latestrevision” element.
It has to be linked to the revision property of the BusinessObject
|
latestrevision |
typeClass=revision |
The latestrevision element checkbox is directly linked to the revision element.
If activated, it makes the revision element non-editable. The meaning is to always
search for the latest revision of the Business Object |
textfield |
typeClass=textfield |
The textfield element will bring up a standard editable textfield. |
checkbox |
typeClass=checkbox
typeClassSelected=[true|false]
|
The checkbox element will bring up a standard editable checkbox. An additional
property defines if the checkbox is preselected or not. |
If you modify any forms, you must reload the cache for your changes to take effect. To do so,
execute this command in an MQL window:
exec prog com.pe_gmbh.bommanagement.Dispatcher -method reloadCache