The createParserFromPackageTemplate() GraphQL mutation field may be used to create a parser from a package parser template.

For more information on creating a parser, see the Creating a Parser documentation page. You may also want to look at the Parsing Data and Packages pages for related information.


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

      viewName: string!
      packageId: VersionedPackageSpecifier!
      parserTemplateName: string!
      overrideName: string
   ): CreateParserFromPackageTemplateMutation!

Given and Returned Datatypes

The given datatype VersionedPackageSpecifier is a scalar value. The returned datatype CreateParserFromPackageTemplateMutation has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: TECreateParserFromPackageTemplateMutationXT

actionParseryes The parser to create from the package template (see Parser Table).

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