API/CodeSamples/Javascript/ReportListDataLite.md
... ...
@@ -0,0 +1,59 @@
1
+#ReportListDataLite
2
+
3
+[[_TOC_]]
4
+
5
+##About
6
+
7
+The ``ReportListDataLite`` command sends an [[AjaxRequest|/API/CodeSamples/Javascript/AjaxRequest]] that gets data used on the report list page to display reports according to category and other metadata related to each report.
8
+
9
+Here is the AJAX call to use:
10
+
11
+```javascript
12
+AjaxRequest('./rs.aspx', 'wscmd=reportlistdatalite&wsarg0=' + category + '&wsarg1=' + keyword + '&wsarg2=1', AcceptReports, null, 'reportlistdatalite');
13
+```
14
+
15
+The AcceptReports variable is a callback method that takes two parameters. The first is the returnObj and the second is the id of the method that called it (reportlistdatalite). Below is the hierarchy of the returnObj.
16
+
17
+* ReportSets
18
+ * [0]...[n]
19
+ * ImgUrl
20
+ * Name
21
+ * Category
22
+ * CategoryFull
23
+ * Subcategory
24
+ * Subcategory
25
+ * Subcategories
26
+ * Dashboard
27
+ * UrlEncodedName
28
+ * UrlEncodedCategory
29
+ * ReadOnly
30
+ * ViewOnly
31
+ * IsLocked
32
+* Recent
33
+ * [0]...[n]
34
+ * ImgUrl
35
+ * Name
36
+ * Category
37
+ * CategoryFull
38
+ * Subcategory
39
+ * Subcategories
40
+ * Dashboard
41
+ * UrlEncodedName
42
+ * UrlEncodedCategory
43
+ * ReadOnly
44
+ * ViewOnly
45
+ * IsLocked
46
+* Frequent
47
+ * [0]...[n]
48
+ * ImgUrl
49
+ * Name
50
+ * Category
51
+ * CategoryFull
52
+ * Subcategory
53
+ * Subcategories
54
+ * Dashboard
55
+ * UrlEncodedName
56
+ * UrlEncodedCategory
57
+ * ReadOnly
58
+ * ViewOnly
59
+ * IsLocked
... ...
\ No newline at end of file