API Reference > presentation-common > Content > Descriptor > getFieldByName getFieldByName Method Get field by its name getFieldByName(name: string, recurse?: boolean): Field | undefined Parameter Type Description name string Name of the field to find recurse boolean Recurse into nested fields Returns - Field | undefined Defined in presentation/common/src/content/Descriptor.ts Line 250 Last Updated: 13 June, 2024