Given a full report object and field name, returns the metadata value for the provided field or returns the default value if the provided field does not exist in the metadata.
1 | parseReportMetadataField(reportObject, field, defaultValue = NULL)
|
reportObject |
the object representing the full report JSON |
field |
the field name to read from the metadata |
defaultValue |
the optional default value to return if the provided field is not found in the report JSON |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.