13.2 Query API - Dataset label versus name - Can't find ViewName | Anthony Corbett | 2013-10-15 15:36 |
Status: Closed | ||
I've uncovered another area affected by this: QueryWebPart. If you configure a QueryWebPart using dataset label as the queryName, as you would in 13.1, it doesn't find the custom viewName, but instead of erroring it shows the default view. new LABKEY.QueryWebPart({ renderTo: 'QWPgrid', containerPath: LABKEY.ActionURL.getContainer(), schemaName: "study", queryName: "Ancillary Illness Visit", viewName: "Ancillary Illness Visit Overview" }); The queryName above is the dataset's label and it doesn't show the correct viewName but the default. If you change this to the dataset's name it will show the correct viewName. |
||