I wish to use e.force:editRecord and NOT force:recordEdit, and still have my base page refreshed after successful save and closing of the modal, using an event like force:recordSaveSuccess.

Is this even possible?

I am not having any issue with refreshing the page with e.force:refreshView. It is just that it is being called BEFORE the actual save has happened. So what I need is a callback.

I have seen this and this and this and this but nothing work for me.

Problem: The force:recordSaveSuccess and force:recordSave don’t fire after the record is edited successfully, at least now in Spring 19.

  • I used this workaround metillium.com/2017/09/… and used force:showToast to solve my problem. I am not adding it as an answer as it is a workaround and not a proper solution. – SFDC Dev 27 Jan 7 '19 at 10:42
  • It would be great to know if Salesforce is working on this. Because I see plenty of questions in StackExchange regarding this but none without any proper answer. – SFDC Dev 27 Jan 7 '19 at 10:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.