Extending Functionality
Defining Custom Actions
Fuse allows developers to define custom bulk actions.
Developers can add bulk action functionality to the importer using Custom Actions. See the preview below for an example.
addCustomAction
The addCustomAction
function accepts an object as an argument with the following properties:
action_type
(String) - required: Currently must be set to “record”.name
(String) - required: A succinct description of the action.handler
(Function) - required: A function that takes arecord
and manipulates it when the action is performed.
Custom actions are hidden in the UI until you select a row in the spreadsheet.
Example Code
Preview
What a custom action called “Generate ID” would look like.