Skip to main content

Customize the experimental data upload

You may customize the data upload using Datagrok functions and meta.uploadFunc tag. The function mentioned in this tag will be called on clicking button instead of the basic data upload. You may use it to extract the experimental data from the external resource (e.g., a database). Extracted data could be saved to the history or could be used directly to compare the computed and experimental results.

Your script header
//meta.uploadFunc: Compute:CustomUploader
info

The custom upload funcion should return uploadWidget (of type DG.Widget) and uploadFuncCall (of type DG.FuncCall). uploadWidget will be shown on the UI; uploadFuncCall, in turn, should return the experimental runs typed as array of DG.FuncCalls.