# SearchBoxConfigurationType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Configuration of the search box (the set of input fields that control definition of search query).

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
defaultMode | property SearchBoxModeType | [0,1] |
allowedMode | property SearchBoxModeType | [0,-1] | Configuration for allowed search modes for search.
scopeConfiguration | container ScopeSearchItemConfigurationType | [0,1] | Configuration for the scope of the search box.
objectTypeConfiguration | container ObjectTypeSearchItemConfigurationType | [0,1] | Configuration for default type of object for search boxes that support object type selection.
relationConfiguration | container RelationSearchItemConfigurationType | [0,1] | Configuration for the relation of the search box.
indirectConfiguration | container IndirectSearchItemConfigurationType | [0,1] | Configuration for the indirect of the search box.
projectConfiguration | container UserInterfaceFeatureType | [0,1] | Configuration for the project/org search item.
tenantConfiguration | container UserInterfaceFeatureType | [0,1] | Configuration for the tenant search item.
defaultScope | property SearchBoxScopeType | [0,1] | The scope of the search box.
defaultObjectType | property QName | [0,1] | Default type of object for search boxes that support object type selection.
searchItems | container SearchItemsType | [0,1] | The list of searchable properties which should be displayed on the search panel.
availableFilter | container AvailableFilterType | [0,-1] | The list of available (saved or predefined) filters
allowToConfigureSearchItems | property boolean | [0,1] | The flag to display/hide configuration button on the search panel.

- ### Items

  - #### defaultMode

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,1]

  - #### allowedMode

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,-1]

    Configuration for allowed search modes for search. All search mode are allowed by default.

  - #### scopeConfiguration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for the scope of the search box. Scope may not be applicable to all types of lists/views. E.g. it does not make sense for flat searches. Therefore some views may not even display scope selection at all.

  - #### objectTypeConfiguration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for default type of object for search boxes that support object type selection. E.g. UserType or RoleType. Type selection may not be applicable to all types of lists/views. E.g. it does not make sense for lists that only contain objects of a single type. Therefore some views may not even display object type selection at all.

  - #### relationConfiguration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for the relation of the search box. Relation may not be applicable to all types of lists/views. E.g. it does not make sense for flat searches. Therefore some views may not even display relation selection at all.

  - #### indirectConfiguration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for the indirect of the search box. Relation may not be applicable to all types of lists/views. E.g. it does not make sense for flat searches. Therefore some views may not even display indirect selection at all.

  - #### projectConfiguration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for the project/org search item. Project/Org is applicable only to role members table.

  - #### tenantConfiguration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for the tenant search item. Tenant is applicable only to role members table.

  - #### defaultScope

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    The scope of the search box. Scope may not be applicable to all types of lists/views. E.g. it does not make sense for flat searches. Therefore some views may not even display scope selection at all.

  - #### defaultObjectType

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Default type of object for search boxes that support object type selection. E.g. UserType or RoleType. Setting it to ObjectType should display all objects. Type selection may not be applicable to all types of lists/views. E.g. it does not make sense for lists that only contain objects of a single type. Therefore some views may not even display object type selection at all.

  - #### searchItems

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The list of searchable properties which should be displayed on the search panel.

  - #### availableFilter

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    The list of available (saved or predefined) filters

  - #### allowToConfigureSearchItems

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The flag to display/hide configuration button on the search panel.