-
Notifications
You must be signed in to change notification settings - Fork 251
/
Copy pathreport.json
101 lines (101 loc) · 2.91 KB
/
report.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"Snippet: Report": {
"prefix": "treport",
"body": [
"report ${1:Id} ${2:MyReport}",
"{",
"\tUsageCategory = ${3|ReportsAndAnalysis,Administration,Documents,History,Lists,None,Tasks|};",
"\tApplicationArea = ${4|All,Basic,Suite,Advanced|};",
"\tDefaultRenderingLayout = ${17:LayoutName};",
"\t",
"\tdataset",
"\t{",
"\t\tdataitem(${6:DataItemName}; ${5:SourceTableName})",
"\t\t{",
"\t\t\tcolumn(${8:ColumnName}; ${7:SourceFieldName})",
"\t\t\t{",
"\t\t\t\t${9}",
"\t\t\t}",
"\t\t}",
"\t}",
"\t",
"\trequestpage",
"\t{",
"\t\tAboutTitle = '${10:Teaching tip title}';",
"\t\tAboutText = '${11:Teaching tip content}';",
"\t\tlayout",
"\t\t{",
"\t\t\tarea(Content)",
"\t\t\t{",
"\t\t\t\tgroup(${12:GroupName})",
"\t\t\t\t{",
"\t\t\t\t\tfield(${14:Name}; ${13:SourceExpression})",
"\t\t\t\t\t{",
"\t\t\t\t\t\t${15}",
"\t\t\t\t\t}",
"\t\t\t\t}",
"\t\t\t}",
"\t\t}",
"\t",
"\t\tactions",
"\t\t{",
"\t\t\tarea(${16:processing})",
"\t\t\t{",
"\t\t\t\taction(${17:ActionName})",
"\t\t\t\t{",
"\t\t\t\t\t${18}",
"\t\t\t\t}",
"\t\t\t}",
"\t\t}",
"\t}",
"\t",
"\trendering",
"\t{",
"\t\tlayout(${19:LayoutName})",
"\t\t{",
"\t\t\tType = ${20:Excel};",
"\t\t\tLayoutFile = '${21:mySpreadsheet.xlsx}';",
"\t\t}",
"\t}",
"\t",
"\tvar",
"\t\t${22:myInt}: ${0:Integer};",
"}"
],
"description": "Snippet: Report"
},
"Snippet: Data Item": {
"prefix": "tdataitem",
"body": [
"dataitem(${1:DataItemName}; ${2:SourceTableName})",
"{",
"\tcolumn(${3:ColumnName}; ${4:SourceFieldName})",
"\t{",
"\t\t${0}",
"\t}",
"}"
],
"description": "Snippet: Report Data Item"
},
"Snippet: Column": {
"prefix": "tcolumn",
"body": [
"column(${1:ColumnName}; ${2:SourceFieldName})",
"{",
"\t${0}",
"}"
],
"description": "Snippet: Column"
},
"Snippet: Report Layout": {
"prefix": "treportlayout",
"body": [
"layout(${0:LayoutName})",
"{",
"\tType = ${1:Excel};",
"\tLayoutFile = '${2:mySpreadsheet.xlsx}';",
"}"
],
"description": "Snippet: Report Layout"
}
}