Hello Zoho CRM Product & Engineering Team,
Requested Feature:
Introduce an afterRowCommit (or post-commit onRowSave) subform event in Client Scripts that fires immediately after an inline subform row has been successfully committed to the database, passing (row_data, index) with the verified, permanent subform row id.
Problem & Technical Gap:
Currently, Client Scripts running in Detail View or Page Layouts support onRowAdd, onCellChange, beforeRowUpdate, and delete events for subforms.
However, none of these allow access to a saved row's unique identifier:
- onRowAdd fires during memory initialization before data entry.
- onCellChange fires while the row is being modified inline. At this stage, newly added subform rows have not yet committed to the CRM database, meaning row_data.id is undefined.
- beforeRowUpdate evaluates pre-save validation rules before database commit, so the permanent row ID is still unavailable.
- When adding and committing rows inline via the Detail View checkmark icon (✓), the record-level onSave event does not fire.
Impact:
It is currently impossible for a Client Script to reliably access the generated row id immediately after a user adds and saves an inline subform row. This blocks automated workflows such as launching custom widgets, triggering contextual popups, or executing standalone Deluge functions keyed directly to a newly created subform row ID.
Please consider adding this lifecycle hook to the Client Script roadmap.
Kind regards,
HP