This commit is contained in:
2021-11-16 20:46:54 +00:00
parent 939065476a
commit f831cf0a07

View File

@@ -251,6 +251,9 @@ ayServerMetaData:
* ayApiUrl - this is the URL of the server relative to the report generator and is useful for calling AyaNova API methods in your prepare data function to bring in sources of information from other areas of AyaNova that might not be directly available to your report
* HasXXLogo - these keys are set to true if a Logo has been uploaded for each size to AyaNova and are useful for controlling whether or not to show a logo on a report template as can be seen in many of our sample reports
### Accessing top level meta data from inside nested objects
In Handlebars templates #each or #with blocks the top level meta data needs to be addressed by [switching context](https://handlebarsjs.com/guide/expressions.html#changing-the-context) from inside the nested element to the top level. e.g. `{{../ayServerMetaData}}` rather than `{{ayServerMetaData}}` as would normally work from the top level of the template.
## Localization and Translation