Context¶
When the script runs, the context object context-related elements. The usage is as follows.
currentTable
Currently selected table.
Output The name of the currently selected table
Example
currentRow
Currently selected row. If the script is launched from a button click, this is the row on which the button was clicked.
Output Complete row object, including _id, _mtime, _ctime. If no row is selected, this function returns undefined.
Example