Insert CRUD Operation to Add New Record
Status
Release Available | Status | Framework Name |
---|---|---|
4.1 | Current | Both Mui and Mint |
General
This feature allows users to add new records with data provided by a user to a table without saving this record data to the backend. A user can add multiple records into a list view or card view before saving them in the backend.
Note:
This feature works only for the List view and Card view.
For the Insert action, you should not use the crud operation to edit the records.
Code JSON
{ "method": "insert", "source": "$state(CurrencyCS);", "options": { "structureName": "currency comb11" }, "value": "$state(EditDetails);"}
Where,
- "source": "$state(CurrencyCS);": Actor to which the new record data has to be added.
- "structureName": "currency comb11": Component structure name of the source actor.
- "value": "$state(EditDetails);": Record data to add.