Marketplace
latest
false
Banner background image
Marketplace User Guide
Last updated Apr 16, 2024

Query Autocomplete

The Query Autocomplete activity allows you to add on-the-fly geographic query predictions to your application. Instead of searching for a specific location, a user can type in a categorical search, such as "pizza near New York" and the activity responds with a list of suggested queries matching the string. As the Query Autocomplete activity can match on both full words and substrings, applications can send queries as the user types to provide on-the-fly predictions.

Properties

Input

  • Input - The text string on which to search. The Place Autocomplete service will return candidate matches based on this string and order results based on their perceived relevance.

    Data Type: System.String

Example: “Prestige Trade”

  • Location: The latitude/longitude around which to retrieve place information. This must be specified as latitude,longitude.

    Data Type: System.String

Example: “-33.8670522,151.1957362”

  • Language: The language code, indicating in which language the results should be returned, if possible. See the list of supported languages and their codes.

    Data Type: System.String

Example: “zh” for Chinese

  • Offset: The position, in the input term, of the last character that the service uses to match predictions.

    Data Type: System.String

Example: if the input is 'Google' and the offset is 3, the service will match on 'Goo'. The string determined by the offset is matched against the first word in the input term only. For example, if the input term is 'Google abc' and the offset is 3, the service will attempt to match against 'Goo abc'. If no offset is supplied, the service will use the whole term. The offset should generally be set to the position of the text caret.

  • Radius: Defines the distance (in meters) within which to return place results. The maximum allowed radius is 50 000 meters. Note that radius must not be included if rankby=distance.

    Data Type: System.String

Example: “500”

Output

  • JSON: The output in the form of a JSON string.

    Data Type: System.String
  • Predictions: The list of predictions.

    Data Type: UiPathTeam.GoogleMaps.Model.QueryAutocomplete.QueryAutocompleteResponse

Common

  • DisplayName - The display name of the activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

    For more info follow the link.

  • Properties
  • Input
  • Output
  • Common
  • Misc

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.