975376ee1edfd316075ec5827cdb1354b3ef86d6
API/CodeSamples/AllowDataFieldsInDescription.md
| ... | ... | @@ -23,7 +23,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 23 | 23 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"; |
| 24 | 24 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 25 | 25 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 26 | - AdHocSettings.AllowDataFieldsInDescription = true; |
|
| 26 | + AdHocSettings.AllowDataFieldsInDescription = true; //The relevant setting |
|
| 27 | 27 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 28 | 28 | } |
| 29 | 29 | } |
| ... | ... | @@ -46,7 +46,7 @@ Public Class CustomAdHocConfig |
| 46 | 46 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 47 | 47 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 48 | 48 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 49 | - AdHocSettings.AllowDataFieldsInDescription = True |
|
| 49 | + AdHocSettings.AllowDataFieldsInDescription = True 'The relevant setting |
|
| 50 | 50 | HttpContext.Current.Session("ReportingInitialized") = True |
| 51 | 51 | End Sub |
| 52 | 52 | End Class |