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. Below is an example to configure Target Cost.
modify 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" operatorfield
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.
Note:
The default Part Search webform "ECAD-ComponentSearchForm" can be
used as a reference to create your own Search Webforms.
typeClass |
Settings |
Description |
typechooser |
typeClass=typechooser
rootType=[AdminType]
rootTypeVisible=[true|false]
|
Used by the emxFramework.Basic.Type field to
select an object type from a tree; you do not need to add this type of field unless
you previously removed it.AdminType defines the administrative
object type, such as Part, used as the root for the object
tree.
rootTypeVisible is a true or false value indicated
in the root type is shown in the tree, or if only its children are shown in the
tree.
|
policychooser |
typeClass=policychooser
|
Used by the emxFramework.Basic.Policy field;
you do not need to add this type of field unless you previously removed it.No
additional settings are required. |
statechooser |
typeClass=statechooser
|
Used by the emxFramework.Basic.Current
field. |
vaultchooser |
typeClass=vaultchooser
|
Used by the emxFramework.Basic.Vault
field. |
revision |
typeClass=revision
|
Used by the emxFramework.Basic.Revision
field. |
latestrevision |
typeClass=latestrevision
|
Used by the
emxFramework.GlobalSearch.LatestRevisionOnly field to add a check
box. |
textfield |
typeClass=textfield
|
Used by any field for entering text. |
checkbox |
typeClass=checkbox
typeClassSelected=[true|false]
|
Used to define a check box field. The
typeClassSelected setting defines the default selection: when
true, the check box is selected by default when the search dialog box opens. |
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