After using force:createRecord, and click on save it will navigate to newly created record… can we control this navigation or stop it?

I am using force:createRecord to get record creation pop up page. However, as soon as user click on save button of that popup, he is redirected to newly created record by Salesforce.
Can we control this Or, my requirement is to keep the user on the same page.

  • Raj

Answer

Yes, we need to create our own component as standard component is not flexible yet.

Attribution
Source : Link , Question Author : Rajendra Singh Nagar , Answer Author : Rajendra Singh Nagar

Leave a Comment