90c2dbdaf805c4f576a24d71bf1e7f71421ff4ad
API/CodeSamples/ShowInvalidVizExportLink.md
| ... | ... | @@ -1,10 +1,10 @@ |
| 1 | -#ShowJoinDropDown |
|
| 1 | +#ShowInvalidVizExportLink |
|
| 2 | 2 | |
| 3 | 3 | [[_TOC_]] |
| 4 | 4 | |
| 5 | 5 | ##About |
| 6 | 6 | |
| 7 | -Gets or sets the value indicating whether the join type dropdown should be shown on the DataSources tab (Advanced Mode). Advanced mode can be accessed by clicking "Advanced" on the DataSources tab when [[ShowDataSourcesAsCheckBoxes|/API/CodeSamples/ShowDataSourcesAsCheckBoxes]] is true, or by setting [[ShowDataSourcesAsCheckBoxes|/API/CodeSamples/ShowDataSourcesAsCheckBoxes]] to false. |
|
| 7 | +ShowInvalidVizExportLink is a boolean variable that determines whether the message "To view the interactive visualization please click this link." is displayed when charts of type visualization is exported to Word,Excel, and other document form. By default ShowInvalidVizExportLink is true. When the user set it to false then message "To view the interactive visualization please click this link." will not be shown. |
|
| 8 | 8 | |
| 9 | 9 | ##Global.asax (C♯) |
| 10 | 10 | |
| ... | ... | @@ -28,29 +28,6 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 28 | 28 | } |
| 29 | 29 | ``` |
| 30 | 30 | |
| 31 | -##Global.asax (VB.NET) |
|
| 32 | - |
|
| 33 | -```visualbasic |
|
| 34 | -'main class: inherits DatabaseAdHocConfig or FileSystemAdHocConfig |
|
| 35 | -Public Class CustomAdHocConfig |
|
| 36 | - Inherits Izenda.AdHoc.DatabaseAdHocConfig |
|
| 37 | - |
|
| 38 | - 'Configure settings |
|
| 39 | - 'Add custom settings after setting the license key and connection string by overriding the ConfigureSettings() method |
|
| 40 | - Shared Sub InitializeReporting() |
|
| 41 | - 'Check to see if we've already initialized. |
|
| 42 | - If HttpContext.Current.Session Is Nothing OrElse HttpContext.Current.Session("ReportingInitialized") IsNot Nothing Then |
|
| 43 | - Return |
|
| 44 | - 'Initialize System |
|
| 45 | - AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
|
| 46 | - AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
|
| 47 | - Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
|
| 48 | - AdHocSettings.ShowJoinDropDown = True 'The relevant setting |
|
| 49 | - HttpContext.Current.Session("ReportingInitialized") = True |
|
| 50 | - End Sub |
|
| 51 | -End Class |
|
| 52 | -``` |
|
| 53 | - |
|
| 54 | 31 | ##Screenshots |
| 55 | 32 | |
| 56 | 33 |  |
| ... | ... | \ No newline at end of file |