Skip to main content

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;


ParameterTypeDescription
formIdstringOptional: Action ID for the form
fieldIdstringField ID for the field
queryFieldIdstringQuery Field ID for the query


Examples

getMetadata()