The enableFieldAliasSchemaOnView() GraphQL query is used to enable the schema on the given view or repository. Field alias mappings in this schema will be active during search within this view or repository.

Syntax

Below is the syntax for the enableFieldAliasSchemaOnView() query field:

graphql
enableFieldAliasSchemaOnView(
      input: EnableFieldAliasSchemaOnViewInput!
   ): boolean

Given Datatypes

For the given datatype, EnableFieldAliasSchemaOnViewInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: EnableFieldAliasSchemaOnViewInput

ParameterTypeRequired[a]DefaultDescription
viewNamestringyes The name of the view related to the field aliases to enable.
schemaIdstringyes The unique identifier of the schema related to the field aliases to enable.

[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.