Event associated to Ok/Cancel buttons
When child record opens in same workgroup as Parent record, we have Ok(Green Tick) and Cancel (Red Cross) buttons in the ribbon. We want to trigger an Add-in when any of these buttons are clicked. These buttons are not a part editor commands. Is there any way to achieve this?