Context describing the LimeType the command will operate on.
Must include limetype to identify which type of objects to operate on.
If parent is set on the context, it indicates that the LimeObjects
are all related to a common parent LimeObject via a belongsto relation.
// All deals (no parent filter)
context = { limetype: 'deal' }
// Only deals related to a specific company
context = { limetype: 'deal', parent: { limetype: 'company', id: 456 } }
A query describing what limeobjects to create new limeobjects from. Each object from the result will result in a new related limeobject to be created
The name of the relation on the limetype to create objects of
Open a dialog for bulk creating limeobjects
Flow example
Let's have a look at the general flow by going through the concrete example of adding several persons to a marketing activity:
Configuration
In order to activate the feature go to a table configuration in lime-admin to the limetype you want to bulk create from and add the following configuration:
Id
limeobject.bulk-create-dialog