# command: results.activate-display-components
Description: Activates the current set of results component(s), which is set via results.set-display-components. Web only.

Inputs: `None`

---
# command: results.activate-group
Description: Activates the group with the specified layerId in the results component. Web only.

Inputs: `ActivateResultGroupArgs`

ActivateResultGroupArgs properties:
```json
{
  "layers": {
    "description": "The layer to activate the corresponding group for in the results component. If more than one layer is included, only the first item in the array will be used. One of `sources` or `layers` is required. If both are specified, `sources` will take precedence. Web only."
  },
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  },
  "sources": {
    "description": "An array of sources to activate the corresponding group for in the results component. Only the first item in the array will be used. One of `sources` or `layers` is required. If both are specified, `sources` will take precedence. Web only.",
    "items": {
      "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
    },
    "type": "array"
  }
}
```

---
# command: results.add
Description: Adds features to a currently shown set of features.

Inputs: `ShowResultsArgs`

ShowResultsArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

---
# command: results.clear
Description: Clear features from results list, results table, and results details. If a component model or model ID is given, then only the specified component is cleared (Web only).

Inputs: `( Model | TargetsResultsSetArgs | string )`

Model properties:
```json
{
  "id": {
    "description": "The unique ID for this entity.",
    "type": "string",
    "isRequired": "true"
  },
  "itemType": {
    "description": "The item type for this entity when it participates in an App.",
    "type": "string",
    "isRequired": "true"
  }
}
```

TargetsResultsSetArgs properties:
```json
{
  "resultsSetId": {
    "description": "If specified the results will be updated in the named results set only. Results sets with the prefix 'vgs' are reserved for system use and should not be used unless you are intentionally targeting a well known results set such as the 'vgs-starred' results. Web only.",
    "type": "string"
  }
}
```

---
# command: results.display
Description: Presents features to the user within any components that can display features, such as a feature list, feature table, or feature details component. The argument is the features to display, or an object specifying both features and the target results component to update (Web only). If features are specified, they will overwrite any incoming features from previous operations up the action chain.

Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | T_60 | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties | T_60 )[] | Results | UpdateResultsFeaturesArgs )`

@vertigis.arcgis-extensions.data.Feature.FeatureProperties properties:
```json
{
  "attributes": {
    "anyOf": [
      {},
      {
        "$ref": "Map"
      }
    ],
    "description": "The feature's attributes, keyed by field name."
  },
  "failureMode": {
    "description": "See {@link support /InitializableBase!InitializableBase.failureMode}."
  },
  "geometry": {
    "anyOf": [
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Extent.Extent"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Multipoint.Multipoint"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Point.Point"
      },
      {
        "$ref": "T_6"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Polyline.Polyline"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Mesh.Mesh"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
      }
    ],
    "description": "The feature's geometry."
  },
  "id": {
    "description": "The unique ID to assign to the entity. If not specified, one will be generated.",
    "type": "string"
  },
  "schema": {
    "description": "Metadata about the feature, such as fields, domains, geometry type, etc."
  },
  "settings": {
    "description": "Settings for this feature."
  },
  "source": {
    "description": "The source of the feature."
  }
}
```

Results properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

UpdateResultsFeaturesArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  },
  "resultsSetId": {
    "description": "If specified the results will be updated in the named results set only. Results sets with the prefix 'vgs' are reserved for system use and should not be used unless you are intentionally targeting a well known results set such as the 'vgs-starred' results. Web only.",
    "type": "string"
  }
}
```

---
# command: results.display-details
Description: Presents feature details to the user within the feature-details component. The argument is the feature(s) to display, or an object specifying both features and the target results component to update (this object, UpdateResultsFeaturesArgs, is Web only).

Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | T_60 | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties | T_60 )[] | Results | UpdateResultsFeaturesArgs )`

@vertigis.arcgis-extensions.data.Feature.FeatureProperties properties:
```json
{
  "attributes": {
    "anyOf": [
      {},
      {
        "$ref": "Map"
      }
    ],
    "description": "The feature's attributes, keyed by field name."
  },
  "failureMode": {
    "description": "See {@link support /InitializableBase!InitializableBase.failureMode}."
  },
  "geometry": {
    "anyOf": [
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Extent.Extent"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Multipoint.Multipoint"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Point.Point"
      },
      {
        "$ref": "T_6"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Polyline.Polyline"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Mesh.Mesh"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
      }
    ],
    "description": "The feature's geometry."
  },
  "id": {
    "description": "The unique ID to assign to the entity. If not specified, one will be generated.",
    "type": "string"
  },
  "schema": {
    "description": "Metadata about the feature, such as fields, domains, geometry type, etc."
  },
  "settings": {
    "description": "Settings for this feature."
  },
  "source": {
    "description": "The source of the feature."
  }
}
```

Results properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

UpdateResultsFeaturesArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  },
  "resultsSetId": {
    "description": "If specified the results will be updated in the named results set only. Results sets with the prefix 'vgs' are reserved for system use and should not be used unless you are intentionally targeting a well known results set such as the 'vgs-starred' results. Web only.",
    "type": "string"
  }
}
```

---
# command: results.display-new-details
Description: Presents new feature details to the user within the feature-details component. If the feature-details component is contained within a panel, a 'back' button will be provided to navigate to the previous content; otherwise, the content of the feature-details component will be replaced.

Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | T_60 | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties | T_60 )[] | Results | UpdateResultsFeaturesArgs )`

@vertigis.arcgis-extensions.data.Feature.FeatureProperties properties:
```json
{
  "attributes": {
    "anyOf": [
      {},
      {
        "$ref": "Map"
      }
    ],
    "description": "The feature's attributes, keyed by field name."
  },
  "failureMode": {
    "description": "See {@link support /InitializableBase!InitializableBase.failureMode}."
  },
  "geometry": {
    "anyOf": [
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Extent.Extent"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Multipoint.Multipoint"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Point.Point"
      },
      {
        "$ref": "T_6"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Polyline.Polyline"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Mesh.Mesh"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
      }
    ],
    "description": "The feature's geometry."
  },
  "id": {
    "description": "The unique ID to assign to the entity. If not specified, one will be generated.",
    "type": "string"
  },
  "schema": {
    "description": "Metadata about the feature, such as fields, domains, geometry type, etc."
  },
  "settings": {
    "description": "Settings for this feature."
  },
  "source": {
    "description": "The source of the feature."
  }
}
```

Results properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

UpdateResultsFeaturesArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  },
  "resultsSetId": {
    "description": "If specified the results will be updated in the named results set only. Results sets with the prefix 'vgs' are reserved for system use and should not be used unless you are intentionally targeting a well known results set such as the 'vgs-starred' results. Web only.",
    "type": "string"
  }
}
```

---
# command: results.display-summary
Description: Presents a feature summary to the user within the feature-summary component. The argument is the feature(s) to display, or an object specifying both features and the target results component to update. Web only.

Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | T_13 | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties | T_13 )[] | Results | UpdateResultsFeaturesArgs )`

@vertigis.arcgis-extensions.data.Feature.FeatureProperties properties:
```json
{
  "attributes": {
    "anyOf": [
      {},
      {
        "$ref": "Map"
      }
    ],
    "description": "The feature's attributes, keyed by field name."
  },
  "failureMode": {
    "description": "See {@link support /InitializableBase!InitializableBase.failureMode}."
  },
  "geometry": {
    "anyOf": [
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Extent.Extent"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Multipoint.Multipoint"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Point.Point"
      },
      {
        "$ref": "T_6"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Polyline.Polyline"
      },
      {
        "$ref": "#/definitions/@arcgis.core.geometry.Mesh.Mesh"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
      },
      {
        "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
      }
    ],
    "description": "The feature's geometry."
  },
  "id": {
    "description": "The unique ID to assign to the entity. If not specified, one will be generated.",
    "type": "string"
  },
  "schema": {
    "description": "Metadata about the feature, such as fields, domains, geometry type, etc."
  },
  "settings": {
    "description": "Settings for this feature."
  },
  "source": {
    "description": "The source of the feature."
  }
}
```

Results properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

UpdateResultsFeaturesArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  },
  "resultsSetId": {
    "description": "If specified the results will be updated in the named results set only. Results sets with the prefix 'vgs' are reserved for system use and should not be used unless you are intentionally targeting a well known results set such as the 'vgs-starred' results. Web only.",
    "type": "string"
  }
}
```

---
# command: results.intersect
Description: Removes features from the existing results that are not present in the given list of features.

Inputs: `ShowResultsArgs`

ShowResultsArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

---
# command: results.remove
Description: Removes features from a currently shown set of features.

Inputs: `ShowResultsArgs`

ShowResultsArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

---
# command: results.replace
Description: Replaces feature(s) in the shown set of features. If a feature is not contained in the current set it is ignored. Features are uniquely identified by ID and not by object equality. Web only.

Inputs: `ShowResultsArgs`

ShowResultsArgs properties:
```json
{
  "features": {
    "description": "Features to use for the command/operation."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

---
# command: results.set-active-feature
Description: Sets the active feature for a particular results component specified by the `results` arg. Or, if the `results` arg is not defined, sets the active feature for all results components. Note that each results component can only have one active feature at a time, but the active feature can differ between different results components. Web only.

Inputs: `SetActiveFeatureArgs`

SetActiveFeatureArgs properties:
```json
{
  "features": {
    "description": "The feature to set as active in the results component, if it exists. If multiple features are specified, only the first will be set as active.",
    "isRequired": "true"
  },
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  }
}
```

---
# command: results.set-display-components
Description: Sets the selector, using CSS selector syntax, which queries for results components in the app layout XML, such as the Results List or Results Table components. The selector is used to determine which components will be activated when displaying results using `results.display`. All other components that do not match the selector are deactivated after running this command. Web only.

Inputs: `( SetDisplayComponentArgs | string )`

SetDisplayComponentArgs properties:
```json
{
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  },
  "selector": {
    "description": "Sets the selector, using CSS selector syntax, which queries for results components in the app layout XML, such as the Results List or Results Table components. The selector is used to determine which components will be activated when displaying results using `results.display`.",
    "type": "string",
    "isRequired": "true"
  }
}
```

---
# command: results.set-list-card-size
Description: Sets the card size for a particular results list component, or globally for all results list components. Web only.

Inputs: `( SetListCardSizeArgs | "compact" | "standard" )`

SetListCardSizeArgs properties:
```json
{
  "cardSize": {
    "description": "The card size to set on the results list component. Web only.",
    "isRequired": "true"
  },
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  }
}
```

---
# command: results.set-list-view-mode
Description: Sets the view mode for a particular results list component, or globally for all results list components. Web only.

Inputs: `( SetListViewModeArgs | "grouped" | "ungrouped" )`

SetListViewModeArgs properties:
```json
{
  "results": {
    "description": "The result component to update, referenced by results model or its ID. Web only."
  },
  "viewMode": {
    "description": "The view mode to activate on the results list component. Web only.",
    "isRequired": "true"
  }
}
```

---
