From 73eb38409c3e10273066e8f010a7e93927e67881 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 13 Oct 2021 20:18:50 +0000 Subject: [PATCH] --- docs/8.0/ayanova/docs/ay-report-edit.md | 6 +++--- makedocs.bat | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/8.0/ayanova/docs/ay-report-edit.md b/docs/8.0/ayanova/docs/ay-report-edit.md index ed5a62eb..95ff3dc2 100644 --- a/docs/8.0/ayanova/docs/ay-report-edit.md +++ b/docs/8.0/ayanova/docs/ay-report-edit.md @@ -17,7 +17,7 @@ When a report is rendered the following steps take place behind the scenes: * The resulting HTML document is rendered and converted to a .PDF format document, saved to a temporary location at the server and a download URL is sent back to the user's browser to download and open the .PDF document. -## Report designer user interface tabs +## Report designer tabs ### Properties @@ -96,7 +96,7 @@ async function ayPrepareData(ayData) { } ``` -`ayData` parameter is an object containing three keys with data required to render the report and it's format is detailed below in the [Report Data Objects](#report-data-objects) section. +`ayData` parameter is an object containing three keys with data required to render the report and it's format is detailed below in the [Report Data Objects](#report-data-structure) section. Note that the SAMPLE DATA section of the user interface in the report designer shows the raw data *before* it is passed to this function, not how it would look *after* this function is run. If you need to see how the data is shaped after a ayPrepareData you can make use of the `ayJSON` helper documented below to view the raw data on the rendered report itself. @@ -113,7 +113,7 @@ This is displayed in the report designer user interface when the report designer If you do not see this section it means the report designer was opened directly without passing through a business object first so there is no current data to display but you can still edit the report as normal. This can happen if you open a report from a History form or use the browser back button to go back to a report that was previously edited or open a report URL directly. -## Report data objects +## Report data structure When a report template is processed, business object data is provided to the template along with other data. Some of this data is used internally by the provided helpers and you have full access to these data values in your templates, Handlebar helpers and PrepareData scripts. diff --git a/makedocs.bat b/makedocs.bat index 398499d7..6372a943 100644 --- a/makedocs.bat +++ b/makedocs.bat @@ -1,4 +1,4 @@ cd c:\data\code\raven\docs\8.0\ayanova -mkdocs build +mkdocs build -s -v cd ..\..\.. pause