Base class for parameters needed to perform a search within a Portal. More...
|Import Statement:||import Esri.ArcGISRuntime 100.8|
- boundingBox : Envelope
- limit : int
- query : string
- searchPublic : bool
- searchString : string
- sortField : string
- sortOrder : Enums.PortalQuerySortOrder
- startIndex : int
Note: You cannot declare or create a component of this type in QML code.
This class cannot be created but forms ths basis for parameters used when searching for items, and groups. Queries can be specified using this type such that they are limited to:
- the number of results returned.
- a spatial search area.
- resources within an organization.
Results can also be sorted. Start index and results limit are used when paging through large result sets.
See the ArcGIS REST API for more details.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
[default] boundingBox : Envelope
The bounding box for a spatial search.
Spatial search is an overlaps/intersects function of the query bbox and the extent.
Gets the results limit, which is used when paging through large result sets.
The default value is 10, and the maximum allowed value is 100.
The startIndex parameter, along with this parameter, can be used to paginate the search results.
The actual number of returned results may be less than the limit. This happens when the number of results remaining after startIndex is less than the limit.
Returns whether public items outside the organization may be included in the query.
Field(s) to sort by.
You can sort by multiple fields by specifying a comma-separated list for field names.
Sort field names are case-insensitive. Allowed sort fields are: title, created, type, owner, modified, avgrating, numratings, numcomments, and numviews.
Gets the sort order, indicating whether the results are returned in ascending or descending order.
See also Enums.PortalQuerySortOrder.
The start index, which is used when paging through large result sets.
The default value of start is 1 (that is, the first search result).
This parameter, along with the limit parameter, can be used to paginate the search results.
Emitted when the boundingBox property changes.
Emitted when the limit property changes.
Emitted when the query property changes.
Emitted when the searchPublic property changes.
Emitted when the searchString property changes.
Emitted when the sortField property changes.
Emitted when the sortOrder property changes.
Emitted when the startIndex property changes.