559a994258871538b8173ddbdcb83accf1393630
FAQ/Questions/Using-Stored-Procedures-In-Izenda-6.md
| ... | ... | @@ -36,7 +36,7 @@ GO |
| 36 | 36 | |
| 37 | 37 | ***Figure 1.** Results of sample SP execution in MSSQL 2005.* |
| 38 | 38 | |
| 39 | -##Using SPs in your application |
|
| 39 | +##Making SPs visible in Izenda Reports |
|
| 40 | 40 | |
| 41 | 41 | In order to utilize SPs, we will need to setup database mode first in Global.asax. |
| 42 | 42 | |
| ... | ... | @@ -74,9 +74,9 @@ public class CustomAdHocConfig : DatabaseAdHocConfig |
| 74 | 74 | } |
| 75 | 75 | ``` |
| 76 | 76 | |
| 77 | -##Making SPs visible in Izenda Reports |
|
| 77 | +When using SPs, use the [[VisibleTables|/API/CodeSamples/VisibleTables]] setting to contain the all the SPs, tables, and views that should be available as DataSources. Each of the strings in this list must exactly mirror the name of the SP, table, or view as it appears in your data source. |
|
| 78 | 78 | |
| 79 | -The VisibleTables property must contain the exact names of all SPs that should be available as DataSources. **Caveat:** when the VisibleTables property is empty, all tables are visible by default, while all SP are hidden. If VisibleTables contains any names, then all tables not included in VisibleTables will become hidden. To use them, they must also be included in VisibleTables to be used together with SPs. In this code example, the table "DummyTable" is added to VisibleTables along with our SP to make it visible. |
|
| 79 | +**Caveat:** when the VisibleTables property is empty, all tables are visible by default, while all SP are hidden. If VisibleTables contains any names, then all tables not included in VisibleTables will become hidden. To use them, they must also be included in VisibleTables to be used together with SPs. In this code example, the table "DummyTable" is added to VisibleTables along with our SP to make it visible. |
|
| 80 | 80 | |
| 81 | 81 | ##Adding code for filtering the Equals(Select) drop-down. |
| 82 | 82 |