QWP custom buttons and XML metadata | Ben Bimber | 2010-07-01 09:17 | |||||||||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||||||||
In labkey you can now add custom buttons to a QWP and also selectively include the default buttons. Doing this in javascript is documented. You can also create an XML file to supple metadata for a query. In this XML file, you can also add buttons, like this: <buttonBarOptions position="both" includeStandardButtons="false"> <includeScript>/EHR_Reporting/studyButtons.js</includeScript> <item requiresSelection="true" text="View Chart"> <onClick> historyHandler(); </onClick> </item> </buttonBarOptions> The above example does not include the standard buttons. Can I selectively add them back one by one, as I can in javascript? What would this syntax look like? Thanks for the help. |
|||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||