getMetadata()
Last updated 4/10/2023
Metadata is available as extra data provided from a SQL query to a _LookupQuery display type. You can access these values using the getMetadata()
and providing a combination of
the form ID, the field ID, and the query field ID. The form ID is optional, if you do not pass in the form ID, the current form will be used.
Available
Client and Server
Function Signature
getMetadata([ formId: string ], fieldId: string, queryFieldId: string) : any;
Parameter | Type | Description |
---|---|---|
formId | string | Optional: Action ID for the form |
fieldId | string | Field ID for the field |
queryFieldId | string | Query Field ID for the query |