get Fields
The collection of Field objects for features created with this template. Use this to determine how to display or convert attribute values into the proper data type and whether they are required by the template.
The fields returned are from the specified layer's definition, provided this layer is loaded and is one of the SharedTemplateQueryParameters.layerIds. They may also be from field overrides from the layer's subtype matching this template's subtype if available.
Return
The collection of Field objects for this template.
Since
300.0.0
Parameters
layer Id
An ID that identifies the layer for which the fields are requested.
Throws
The specified layerId is not one of the SharedTemplate.layerIds or is not loaded.