252c6b0afcb0ab77d8abd8e0f5c8feaff515bcff
API/CodeSamples/SavedReportsTable.md
| ... | ... | @@ -21,12 +21,8 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 21 | 21 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"; |
| 22 | 22 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 23 | 23 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 24 | - HttpContext.Current.Session["ReportingInitialized"] = true; |
|
| 25 | - } |
|
| 26 | - |
|
| 27 | - //Add custom settings below |
|
| 28 | - public override void ConfigureSettings() { |
|
| 29 | 24 | AdHocSettings.SavedReportsTable = "YourReportingTable"; |
| 25 | + HttpContext.Current.Session["ReportingInitialized"] = true; |
|
| 30 | 26 | } |
| 31 | 27 | } |
| 32 | 28 | ``` |
| ... | ... | @@ -47,12 +43,8 @@ Public Class CustomAdHocConfig |
| 47 | 43 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 48 | 44 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 49 | 45 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 50 | - HttpContext.Current.Session("ReportingInitialized") = True |
|
| 51 | - End Sub |
|
| 52 | - |
|
| 53 | - 'Add custom settings below |
|
| 54 | - Public Overrides Sub ConfigureSettings() |
|
| 55 | 46 | AdHocSettings.SavedReportsTable = "YourReportingTable" |
| 47 | + HttpContext.Current.Session("ReportingInitialized") = True |
|
| 56 | 48 | End Sub |
| 57 | 49 | End Class |
| 58 | 50 | ``` |
| ... | ... | \ No newline at end of file |