persistent assay result domain buttons

LabKey Support Forum (Inactive)
persistent assay result domain buttons Ben Bimber  2010-07-06 06:55
Status: Closed
 
I have an assay and I would like to customize the buttons that appear in a QWP when loading the result domain of an assay. There's two approaches I know to do this, both of which work on the Run or Batch domains:

1. override metadata for that query

2. define buttons when loading a QWP. ie:

EHR.Assay.results = function(){
    EHR.Assay.showButtonBar(LABKEY.page.assay);
    var wp = new LABKEY.QueryWebPart({
        renderTo:"webPart"
       ,schemaName: "assay"
       ,queryName: LABKEY.page.assay.name+" Data"
       ,frame: 'none'
       ,buttonBar: {
           includeStandardButtons: false,
           items:[
             LABKEY.QueryWebPart.standardButtons.insertNew,
             LABKEY.QueryWebPart.standardButtons.views,
             LABKEY.QueryWebPart.standardButtons.exportRows,
             LABKEY.QueryWebPart.standardButtons.print,
             LABKEY.QueryWebPart.standardButtons.pageSize
           ]
           }
    }).render();
}

The above approach works on everything but assay results. I know this topic has come up once before, but is there any way to get around that? thanks for the help.
 
 
jeckels responded:  2010-07-09 16:47
This is a bug that's specific to the assay results view:

https://www.labkey.org/issues/home/Developer/issues/details.view?issueId=10628

I anticipate that this will be fixed as part of 10.2.

Thanks,
Josh