QueryWebPart deprecated? | trent | 2016-03-17 20:59 |
Status: Closed | ||
Ok.. after getting it working with the syntax: ${labkey.webPart(partName='Query', showFrame='true', title = 'Module Inventory', schemaName ='core', queryName ='Modules', buttonBarPosition ='top', allowChooseQuery ='true', allowChooseView = 'true')} and searching `QueryWebPart` in the developer console, i find that ext3.min.js is loaded. I find this works: <script type="text/javascript"> LABKEY.requiresExt3ClientAPI(function(){ Ext4.onReady(function(){ var vialsWebPart = new LABKEY.QueryWebPart({ schemaName : 'offsite_repository', queryName: 'patient_visit', renderTo: 'qwpReg', showRecordSelectors: true, frame: 'none'}); console.log(LABKEY.QueryWebPart); }); }); </script> <div id="qwpReg"></div> Not sure if there is a better approach.... |
||