Wanting Another Container Filter Type

LabKey Support Forum (Inactive)
Wanting Another Container Filter Type kevink  2012-04-02 16:39
Status: Closed
 
Hi Scott,

I think you can achieve this by using the currentAndSubfolders filter with the project as the container path. Something like this:

    LABKEY.Query.selectRows({
        schemaName: "study",
        queryName: "StudyProperties",
        containerPath: "/VISC",
        containerFilter: LABKEY.Query.containerFilter.currentAndSubfolders,
        columns: [ "Container", "Label" ],
        success: function (data) {
            // ...
        }
    });