FAQ/ListReports.md
... ...
@@ -1,5 +1,13 @@
1 1
#The ListReports() Method
2 2
3
+[[_TOC_]]
4
+
5
+##About
6
+
7
+The ListReports method allows you to dynamically alter the list of reports that Izenda uses on the Report List page. Below is an example of logic you could use with this method.
8
+
9
+##Sample Method (DatabaseAdHocConfig)
10
+
3 11
```csharp
4 12
public override Izenda.AdHoc.ReportInfo[] ListReports()
5 13
{
... ...
@@ -31,6 +39,8 @@ public override Izenda.AdHoc.ReportInfo[] ListReports()
31 39
/* END Database Mode Code Sample */
32 40
```
33 41
42
+##Sample Method (FileSystemAdHocConfig)
43
+
34 44
```csharp
35 45
/* BEGIN Filesystem Mode Code Sample */
36 46
ArrayList reportNames = new ArrayList();