The setAutomaticSearching() GraphQL mutation may be used to set a query to search automatically when openning a search page.

For some related information, look at the User Functions (Saved Searches) reference page where saved queries are discussed. Also, look at the Searching Data documentation page as it relates to recent queries and saving queries.

Syntax

Below is the syntax for the setAutomaticSearching() mutation field:

graphql
setAutomaticSearching(
      name: string!
      automaticSearch: boolean!
   ): setAutomaticSearching!

Returned Datatypes

The returned datatype setAutomaticSearching() has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: setAutomaticSearching

ParameterTypeRequired[a]DefaultDescription
automaticSearchbooleanyes Whether automatic search is set.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.