• Preparing search index...
  • The search index is not available
@esri/solution.js
  • @esri/solution.js
  • common/src
  • searchGroupContents

Function searchGroupContents

  • searchGroupContents(groupId, searchString, authentication, additionalSearchOptions?, portalUrl?): Promise<ISearchResult<IItem>>
  • Searches for group contents matching criteria.

    Parameters

    • groupId: string

      Group whose contents are to be searched

    • searchString: string

      Text for which to search, e.g., 'redlands+map', 'type:"Web Map" -type:"Web Mapping Application"'

    • authentication: UserSession

      Credentials for the request to AGO

    • Optional additionalSearchOptions: IAdditionalGroupSearchOptions

      Adjustments to search, such as tranche size and categories of interest; categories are supplied as an array: each array element consists of one or more categories to be ORed; array elements are ANDed

    • Optional portalUrl: string

      Rest Url of the portal to perform the search

    Returns Promise<ISearchResult<IItem>>

    A promise that will resolve with a structure with a tranche of results and describing how many items are available

    See

    • https://developers.arcgis.com/rest/users-groups-and-items/group-content-search.htm
    • https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm
    • Defined in packages/common/src/restHelpers.ts:1680

Settings

Member Visibility

Theme

@esri/solution.js
  • Loading...

Generated using TypeDoc