RE: List all Available Queries

2005-01-07 Thread Tangorre, Michael
> From: Dawson, Michael [mailto:[EMAIL PROTECTED] > > > > > Query found > > Query not found > > > Obviously, you'd want to improve this code and make it work > for multiple scopes. I think this beats hitting the factory. I think the above would take a long ti

RE: List all Available Queries

2005-01-07 Thread Dawson, Michael
>>Apart from Debugging is there any way to access all the available queries for a page stack/call? Maybe via the Factory? Loop over scope(s), as a structure, and test each key with the isQuery() function. Pseudo-Code: Query found Query not found Obviously, you

RE: List all Available Queries

2005-01-07 Thread Micha Schopman
Yes, ... but only if you enable debugging in the administrator :) Only then, the service factory collects debugging information. If you use MSSQL, you might use Microsoft SQL Profiler, to view all executed queries and the corresponding information. Micha Schopman Software Engineer Modern Media