You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rescocrm edited this page Aug 2, 2024
·
10 revisions
Binds or unbinds the handler for EntityForm command.
Arguments
Argument
Type
Description
command
String
The name of the EntityForm command.
handler
function(entityForm)
The handler function that has to be bound or unbound.
bind
Boolean
Determines whether to bind or unbind the handler.
scope
Object
The scope for handler calls.
This example demonstrates how to handle custom command "Scanner" to start the barcode scanner and store the result into currently edited "product" entity. The custom command can be added on the form via Woodford/Resco CRM.