How to get the names of all lists in a directory?

LabKey Support Forum (Inactive)
How to get the names of all lists in a directory? ymei  2012-11-27 09:14
Status: Closed
 
Hello,

Is there a quick way to get all names/querynames of all the lists in a directory? Or I have to use directly sql "show tables"?

Thanks,
Yongguo
 
 
marki responded:  2012-11-27 14:53
You might be looking for the LABKEY.Query.getQueries API

https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.Query.html#.getQueries

You can get the queries for the lists schema by setting the schemaName config parameter.
 
ymei responded:  2012-11-27 14:57
Thank you very much. Got it work out well!