From 9301feeb0004232aad6b4f5dc53e648a820dc72b Mon Sep 17 00:00:00 2001 From: sadnub Date: Wed, 14 Jun 2023 11:38:24 -0400 Subject: [PATCH] start help menu --- .../components/ReportTemplateForm.vue | 21 +++++++ .../components/ReportingHelpMenu.vue | 58 +++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 src/ee/reporting/components/ReportingHelpMenu.vue diff --git a/src/ee/reporting/components/ReportTemplateForm.vue b/src/ee/reporting/components/ReportTemplateForm.vue index 6a600d3d..b441b36d 100644 --- a/src/ee/reporting/components/ReportTemplateForm.vue +++ b/src/ee/reporting/components/ReportTemplateForm.vue @@ -14,6 +14,13 @@ For details, see: https://license.tacticalrmm.com/ee New Report Template + Close @@ -174,6 +181,16 @@ For details, see: https://license.tacticalrmm.com/ee /> + + + + +
+
Report Template
+ +
+
Test
+
+ +
Base Template
+ +
+
Test
+
+ +
Data Query
+ +
+
+ Data Queries are used to save common database queries use them in + templates. Behind the scenes, we are just creating a Django queryset. + The only difference is these querysets are restricted to only retrieve + data versus modifying data. +
+
Syntax
+
+
+ When you create Data Queries in the Data Query Editor you use JSON. + You can also create Data Queries directly in the template variables + which uses yaml syntax. +
+
+ +
+ +
Structure
+
+
+ Ctrl+Space in the query editor to auto-complete values +
+ +
+
* model (*string)
+
+ This is the only required field. This specifies the table to query. +
+
* filter (object)
+
+
+
+
+
+ + +